Skip workflow if previous step failed, fix runner arch dependency (#3331)

This commit is contained in:
Igor Pečovnik 2021-12-09 11:15:06 +01:00 committed by GitHub
parent 095fa0df90
commit ae5afb0bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,7 @@ jobs:
name: Find desktop variants
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
if: ${{ github.repository_owner == 'Armbian' && github.event.workflow_run.conclusion == 'success' }} || github.event_name == 'workflow_dispatch'
outputs:
matrix: ${{steps.list_dirs.outputs.matrix}}
steps:
@ -130,4 +130,4 @@ jobs:
run: |
sudo apt-get -y -qq install lftp
lftp -u upload, -e "set net:timeout 10;set net:max-retries 16;mirror --Remove-source-files -R --no-empty-dirs --parallel=8 --include-glob=armbian-${{ env.RELEASE }}-desktop-${{ env.DE }}_*.deb --no-perms $(pwd)/build/output/debs-beta/ debs-beta/ ;bye" sftp://users.armbian.com
lftp -u upload, -e "set net:timeout 10;set net:max-retries 16;mirror --Remove-source-files -R --no-empty-dirs --parallel=8 --include-glob=armbian-${{ env.RELEASE }}-desktop-${{ env.DE }}_*.deb --no-perms $(pwd)/build/output/debs-beta/ debs-beta/ ;bye" sftp://users.armbian.com

View File

@ -30,6 +30,7 @@ jobs:
with:
rootfsarch: 'bananapi'
runner: 'small'
branch: ${{ github.event.inputs.branch }}
secrets:
@ -45,6 +46,7 @@ jobs:
with:
rootfsarch: 'lepotato'
runner: 'small'
branch: ${{ github.event.inputs.branch }}
secrets:
@ -60,6 +62,7 @@ jobs:
with:
rootfsarch: 'uefi-x86'
runner: 'x64'
branch: ${{ github.event.inputs.branch }}
secrets:

View File

@ -22,7 +22,7 @@ jobs:
board: [uefi-arm64,uefi-x86,virtual-qemu]
release: [focal,buster,bullseye,hirsute,jammy]
desktop: [xfce]
if: ${{ github.repository_owner == 'Armbian' }}
if: ${{ github.repository_owner == 'Armbian' && github.event.workflow_run.conclusion == 'success' }} || github.event_name == 'workflow_dispatch'
name: Variant
runs-on: ubuntu-latest
steps: