chore: add assets to releases (#6346)

* chore: change pipeline to add assets to the release
This commit is contained in:
Stefan Benz
2023-08-11 14:49:28 +02:00
committed by GitHub
parent 4123ab7ba7
commit 77e561af72
5 changed files with 47 additions and 8 deletions

View File

@@ -70,12 +70,12 @@ jobs:
mv zitadel zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
cp LICENSE zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
cp README.md zitadel-${{ matrix.goos }}-${{ matrix.goarch }}/
tar -cvf zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
tar -czvf zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
-
uses: actions/upload-artifact@v3
with:
name: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}
path: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar
path: zitadel-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
checksums:
runs-on: ubuntu-latest
@@ -87,7 +87,7 @@ jobs:
path: executables
-
name: move files one folder up
run: mv */*.tar . && find . -type d -empty -delete
run: mv */*.tar.gz . && find . -type d -empty -delete
working-directory: executables
-
run: sha256sum * > checksums.txt

View File

@@ -70,7 +70,7 @@ jobs:
-
name: Unpack executable
run: |
tar -xvf .artifacts/zitadel-linux-${{ matrix.arch }}.tar
tar -xvf .artifacts/zitadel-linux-${{ matrix.arch }}.tar.gz
mv zitadel-linux-${{ matrix.arch }}/zitadel ./zitadel
-
name: Debug

View File

@@ -22,7 +22,7 @@ jobs:
-
name: Unpack executable
run: |
tar -xvf .artifacts/zitadel-linux-amd64.tar
tar -xvf .artifacts/zitadel-linux-amd64.tar.gz
mv zitadel-linux-amd64/zitadel ./zitadel
-
name: Set up QEMU

View File

@@ -27,6 +27,11 @@ jobs:
-
name: Source checkout
uses: actions/checkout@v3
-
uses: actions/download-artifact@v3
if: ${{ !inputs.dry_run }}
with:
path: .artifacts
-
name: Semantic Release
uses: cycjimmy/semantic-release-action@v3