Update build_and_deploy.yaml

This commit is contained in:
Michael Telatynski 2023-11-23 08:21:09 +00:00 committed by GitHub
parent b7cc0cf5f2
commit 268e61ec5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ jobs:
- name: Find debs
id: deb
if: inputs.linux
if: needs.linux.result == 'success'
run: |
for arch in amd64 arm64
do
@ -156,7 +156,7 @@ jobs:
- name: Publish amd64 deb to packages.element.io
uses: vector-im/packages.element.io@master
if: inputs.linux
if: needs.linux.result == 'success'
with:
file: ${{ steps.deb.outputs.amd64 }}
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
@ -166,7 +166,7 @@ jobs:
- name: Publish arm64 deb to packages.element.io
uses: vector-im/packages.element.io@master
if: inputs.linux
if: needs.linux.result == 'success'
with:
file: ${{ steps.deb.outputs.arm64 }}
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}