1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore(release): reinclude ci conditions

This commit is contained in:
Steven Tang 2022-09-30 22:43:43 +10:00
parent 1d4156bdfe
commit 018cc50fb8
No known key found for this signature in database
GPG Key ID: C7B961512342C50E
2 changed files with 6 additions and 15 deletions

View File

@ -1,9 +1,7 @@
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:

View File

@ -1,10 +1,9 @@
name: Release
on:
push:
# release:
# types:
# - published
release:
types:
- published
jobs:
release:
@ -72,13 +71,7 @@ jobs:
run: |
zip -9 wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip *
- name: Archive zip
uses: actions/upload-artifact@v3
- name: Upload built executable to Release
uses: softprops/action-gh-release@v1
with:
name: wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip
path: dist/wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip
# - name: Upload built executable to Release
# uses: softprops/action-gh-release@v1
# with:
# files: ./dist/*.zip
files: ./dist/*.zip