forked from Mirrors/gomuks
Add CI step to push a release after building
This commit is contained in:
parent
9b14639657
commit
993e0e5f33
1 changed files with 15 additions and 3 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Upload macOS Build Artifacts
|
- name: Upload macOS Build Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: gomuks (macOS x86_64)
|
name: macOS-x86_64
|
||||||
path: gomuks
|
path: gomuks
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
macos_arm:
|
macos_arm:
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
- name: Upload macOS Build Artifacts
|
- name: Upload macOS Build Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: gomuks (macOS ARM)
|
name: macOS-ARM
|
||||||
path: gomuks
|
path: gomuks
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
linux:
|
linux:
|
||||||
|
@ -77,6 +77,18 @@ jobs:
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: gomuks (Linux ${{ matrix.arch }})
|
name: linux-${{ matrix.arch }}
|
||||||
path: gomuks
|
path: gomuks
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
- uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
artifacts: "macOS-*/*,linux-*/*"
|
||||||
|
body: The most recent gomuks binaries
|
||||||
|
name: "Nightly"
|
||||||
|
allowUpdates: true
|
||||||
|
artifactErrorsFailBuild: true
|
||||||
|
makeLatest: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue