Skip to content

Commit

Permalink
Merge pull request #11156 from keymanapp/chore/linux/11143_Unreleased…
Browse files Browse the repository at this point in the history
…PkgBuildFailures

chore(linux): More fixes for workaround for failing linux builds
  • Loading branch information
ermshiperete authored Apr 3, 2024
2 parents 73b8ff2 + 2fe4da7 commit a7fa7e2
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/deb-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
PRERELEASE_TAG: ${{ steps.prerelease_tag.outputs.PRERELEASE_TAG }}
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'

Expand Down Expand Up @@ -119,6 +119,12 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'
sparse-checkout: '.github/actions/'

- name: Build
uses: ./.github/actions/build-binary-packages
with:
Expand All @@ -138,8 +144,13 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: '${{ github.event.client_payload.buildSha }}'
sparse-checkout: '.github/actions/'

- name: Build
continue-on-error: true
uses: ./.github/actions/build-binary-packages
with:
dist: ${{ matrix.dist }}
Expand Down Expand Up @@ -182,7 +193,7 @@ jobs:
needs: [sourcepackage, binary_packages_released, binary_packages_unreleased]
runs-on: ubuntu-latest
environment: "deploy (linux)"
if: github.event.client_payload.isTestBuild == 'false'
if: ${{ github.event.client_payload.isTestBuild == 'false' && needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' }}

steps:
- name: Sign packages
Expand All @@ -200,7 +211,7 @@ jobs:
needs: [sourcepackage, deb_signing]
runs-on: self-hosted
environment: "deploy (linux)"
if: github.event.client_payload.isTestBuild == 'false'
if: ${{ github.event.client_payload.isTestBuild == 'false' && needs.sourcepackage.result == 'success' && needs.deb_signing.result == 'success' }}

steps:
- name: Install dput
Expand Down Expand Up @@ -283,6 +294,7 @@ jobs:
name: Verify API for libkeymancore.so
needs: [sourcepackage, binary_packages_released]
runs-on: ubuntu-latest
if: ${{ needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' }}

steps:
- name: Checkout
Expand Down

0 comments on commit a7fa7e2

Please sign in to comment.