Skip to content

Commit

Permalink
Try to placate different version artifact naming conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwaldp-oci committed Jun 30, 2023
1 parent c42f25b commit f848de5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ph_backward_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,22 @@ jobs:
# https://github.com/actions/runner/issues/2033 -- need this because of full version label test looking at git revs
chown -R $(id -u):$(id -g) $PWD
zstdcat build.tar.zst | tar x
- name: Download Prev Leap Version
- if: ${{ matrix.release != '3.1' }}
name: Download Prev Leap Version (v3.2.x and after)
uses: AntelopeIO/asset-artifact-download-action@v2
with:
owner: AntelopeIO
repo: leap
file: 'leap*amd64.deb'
file: 'leap_.*-${{matrix.platform}}.04_amd64.deb' # Ex. leap_3.2.3-ubuntu20.04_amd64.deb leap_4.0.3-ubuntu20.04_amd64.deb
target: '${{matrix.release}}'
token: ${{github.token}}
- if: ${{ matrix.release == '3.1' }}
name: Download Prev Leap Version (v3.1.x)
uses: AntelopeIO/asset-artifact-download-action@v2
with:
owner: AntelopeIO
repo: leap
file: 'leap-.*-${{matrix.platform}}.04-x86_64.deb' # Ex. leap-3.1.4-ubuntu20.04-x86_64.deb
target: '${{matrix.release}}'
token: ${{github.token}}
- name: Extract and Place Rev Leap Version artifacts
Expand Down

0 comments on commit f848de5

Please sign in to comment.