mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 08:18:43 -06:00
nightly release workflow
This commit is contained in:
parent
18d71d2edd
commit
c9990eef6e
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -46,6 +46,27 @@ jobs:
|
||||||
path: ./artifact/*
|
path: ./artifact/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
publish-nightly:
|
||||||
|
needs: build
|
||||||
|
if: (github.ref == 'refs/heads/master') && (!startsWith(github.ref, 'refs/tags/v'))
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
path: ./artifacts
|
||||||
|
- uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
name: nightly
|
||||||
|
tag: nightly
|
||||||
|
allowUpdates: true
|
||||||
|
removeArtifacts: true
|
||||||
|
replacesArtifacts: true
|
||||||
|
prerelease: true
|
||||||
|
generateReleaseNotes: true
|
||||||
|
updateOnlyUnreleased: true
|
||||||
|
artifacts: ./artifacts/*
|
||||||
|
|
||||||
|
|
||||||
publish-release:
|
publish-release:
|
||||||
needs: build
|
needs: build
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
@ -58,5 +79,6 @@ jobs:
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: ${{ env.GITHUB_REF_SLUG_URL }}
|
tag: ${{ env.GITHUB_REF_SLUG_URL }}
|
||||||
|
generateReleaseNotes: true
|
||||||
makeLatest: true
|
makeLatest: true
|
||||||
artifacts: ./artifacts/*
|
artifacts: ./artifacts/*
|
||||||
|
|
Loading…
Reference in a new issue