ci: add build artifacts to release

This commit is contained in:
Nicolas Giard 2022-02-13 05:55:12 -05:00 committed by GitHub
parent dd5d964ce5
commit ae6fcf4383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'