forked from muety/wakapi
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d07cbf
commit af92e94
Showing
62 changed files
with
26,775 additions
and
9,164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
github: muety | ||
liberapay: muety | ||
custom: ['https://paypal.me/ferdinandmuetsch', 'https://www.buymeacoffee.com/n1try'] | ||
custom: | ||
["https://paypal.me/ferdinandmuetsch", "https://www.buymeacoffee.com/n1try"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
--- | ||
name: Bug | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. Please briefly describe how to reproduce the bug as well as _expected_ vs. _actual_ behavior. Optionally include screenshots and server logs, if helpful. | ||
|
||
**System information** | ||
Please provide information on: | ||
* Wakapi version | ||
* Operating system | ||
* If Linux: which distro? | ||
* If Docker: which image and tag? | ||
* Database (SQLite, MySQL, ... ?) | ||
|
||
- Wakapi version | ||
- Operating system | ||
- If Linux: which distro? | ||
- If Docker: which image and tag? | ||
- Database (SQLite, MySQL, ... ?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
--- | ||
name: Other (feature request, question, ...) | ||
about: Anything else | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
release: | ||
name: 'Build, package and release to GitHub' | ||
name: "Build, package and release to GitHub" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -30,56 +30,55 @@ jobs: | |
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ^1.23 | ||
cache: false | ||
id: go | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ^1.23 | ||
cache: false | ||
id: go | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
- name: Set version | ||
shell: bash | ||
run: | | ||
(git describe --tags --exact-match \ | ||
|| git symbolic-ref -q --short HEAD \ | ||
|| git rev-parse --short HEAD) > version.txt 2> /dev/null | ||
- name: Set version | ||
shell: bash | ||
run: | | ||
(git describe --tags --exact-match \ | ||
|| git symbolic-ref -q --short HEAD \ | ||
|| git rev-parse --short HEAD) > version.txt 2> /dev/null | ||
- name: Prepare | ||
run: | | ||
mkdir -p dist/ && cd dist/ | ||
cp ../config.default.yml config.yml | ||
- name: Prepare | ||
run: | | ||
mkdir -p dist/ && cd dist/ | ||
cp ../config.default.yml config.yml | ||
- name: Build | ||
working-directory: ./dist | ||
shell: bash | ||
run: | | ||
GOOS=${{ matrix.GOOS }} GOARCH=${{ matrix.GOARCH }} CGO_ENABLED=0 \ | ||
go build -v -ldflags '-w -s' ../ | ||
- name: Build | ||
working-directory: ./dist | ||
shell: bash | ||
run: | | ||
GOOS=${{ matrix.GOOS }} GOARCH=${{ matrix.GOARCH }} CGO_ENABLED=0 \ | ||
go build -v -ldflags '-w -s' ../ | ||
- name: Compress working folder (Windows PowerShell) | ||
working-directory: ./dist | ||
if: "${{ matrix.GOOS == 'windows' }}" | ||
run: | | ||
Compress-Archive -Path .\wakapi.exe, .\config.yml -DestinationPath wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip | ||
- name: Compress working folder (Windows PowerShell) | ||
working-directory: ./dist | ||
if: "${{ matrix.GOOS == 'windows' }}" | ||
run: | | ||
Compress-Archive -Path .\wakapi.exe, .\config.yml -DestinationPath wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip | ||
- name: Compress working folder | ||
working-directory: ./dist | ||
if: "${{ matrix.GOOS != 'windows' }}" | ||
run: | | ||
zip -9 wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip * | ||
- name: Compress working folder | ||
working-directory: ./dist | ||
if: "${{ matrix.GOOS != 'windows' }}" | ||
run: | | ||
zip -9 wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip * | ||
- name: Upload built executable to Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ./dist/*.zip | ||
|
||
- name: Upload built executable to Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ./dist/*.zip | ||
|
||
- name: Delete old releases | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
keep_latest: 10 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Delete old releases | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
keep_latest: 10 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.