-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
80b0019
commit c256d3a
Showing
1 changed file
with
11 additions
and
5 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,5 +1,7 @@ | ||
name: build-daily | ||
on: push | ||
# schedule: | ||
# - cron: '0 0 * * *' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -9,6 +11,13 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Update continuous tag | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Qsaker" | ||
git tag -fa continuous -m "chore: update to latest commit" | ||
git push origin :refs/tags/continuous | ||
git push origin continuous -f | ||
- name: Delete Release | ||
run: | | ||
gh release delete continuous -y || true | ||
|
@@ -37,10 +46,7 @@ jobs: | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | ||
cmake -DCMAKE_PREFIX_PATH='${{ github.workspace }}/Qt/6.5.3/win64_msvc2019_64/lib/cmake/Qt6' -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ../ | ||
cmake --build . --target QtSwissArmyKnife | ||
dir | ||
dir .\sak | ||
dir .\sak\QtSwissArmyKnife | ||
dir && dir .\sak && dir .\sak\QtSwissArmyKnife | ||
- name: Upload Release Asset for Windnows | ||
run: | | ||
dir | ||
gh release upload continuous 'build\sak\qtswissarmyknife-windows-amd64.zip' | ||
dir && gh release upload continuous 'build\sak\qtswissarmyknife-windows-amd64.zip' |