-
Notifications
You must be signed in to change notification settings - Fork 12
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
ee4cd01
commit e773af1
Showing
1 changed file
with
23 additions
and
2 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 |
---|---|---|
|
@@ -9,8 +9,8 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- { name: Linux GCC } | ||
- { name: Windows MINGW, make_opts: PLATFORM=NT CROSS_COMPILE=x86_64-w64-mingw32- } | ||
- { name: linux_gcc } | ||
- { name: windows_mingw, make_opts: PLATFORM=NT CROSS_COMPILE=x86_64-w64-mingw32- } | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -62,3 +62,24 @@ jobs: | |
with: | ||
name: geometry-win32-x86_64 | ||
path: dist/ | ||
|
||
release: | ||
|
||
runs-on: ubuntu-latest | ||
needs: [jobs, win32-build-x86_64-geometry] | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
steps: | ||
-name: Download artifacts | ||
uses: actions/[email protected] | ||
-name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
name: Switchres ${GITHUB_REF#refs/*/} | ||
draft: true | ||
prerelease: false | ||
files: | | ||
./switchres-linux_gcc-x86_64/*.zip | ||
./switchres-windows_mingw/*.zip | ||
./geometry-win32-x86_64/*.zip |