ci: add build artifacts to release
This commit is contained in:
parent
dd5d964ce5
commit
ae6fcf4383
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -296,6 +296,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Tag Images
|
- name: Tag Images
|
||||||
run: |
|
run: |
|
||||||
|
docker pull requarks/wiki:beta-$REL_VERSION_STRICT
|
||||||
docker pull ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT
|
docker pull ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT
|
||||||
|
|
||||||
echo "Fetching semver tool..."
|
echo "Fetching semver tool..."
|
||||||
@ -329,6 +330,18 @@ jobs:
|
|||||||
docker push ghcr.io/requarks/wiki:$MAJORMINOR
|
docker push ghcr.io/requarks/wiki:$MAJORMINOR
|
||||||
docker push ghcr.io/requarks/wiki:latest
|
docker push ghcr.io/requarks/wiki:latest
|
||||||
|
|
||||||
|
- name: Download Linux Build
|
||||||
|
uses: actions/download-artifact@v2.1.0
|
||||||
|
with:
|
||||||
|
name: drop
|
||||||
|
path: drop
|
||||||
|
|
||||||
|
- name: Download Windows Build
|
||||||
|
uses: actions/download-artifact@v2.1.0
|
||||||
|
with:
|
||||||
|
name: drop-win
|
||||||
|
path: drop-win
|
||||||
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: Requarks/changelog-action@v1
|
uses: Requarks/changelog-action@v1
|
||||||
@ -345,4 +358,5 @@ jobs:
|
|||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
body: ${{ steps.changelog.outputs.changes }}
|
body: ${{ steps.changelog.outputs.changes }}
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
artifacts: 'drop/wiki-js.tar.gz,drop-win/wiki-js-windows.tar.gz'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user