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
|
name: ci
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user