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:
parent
1d4156bdfe
commit
018cc50fb8
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -1,9 +1,7 @@
|
||||
name: ci
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user