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 name: ci
on: on:
push: push:
branches: [ master ]
pull_request: pull_request:
branches: [ master ]
jobs: jobs:
test: test:

View File

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