Skip to content

Commit

Permalink
fix snap names based on the arch
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcocenza committed Sep 17, 2024
1 parent 2fd40bd commit ff48137
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [[ubuntu-22.04], [self-hosted, jammy, ARM64]]
architecture: [amd64, arm64]
needs:
- lint
steps:
Expand All @@ -66,7 +67,7 @@ jobs:
- name: Upload the built snap
uses: actions/upload-artifact@v4
with:
name: SNAP_FILE
name: snap_${{ matrix.architecture }}
path: dcgm*.snap

func:
Expand All @@ -77,6 +78,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [[ubuntu-22.04], [self-hosted, jammy, ARM64]]
architecture: [amd64, arm64]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -85,7 +87,7 @@ jobs:
- name: Download the built snap
uses: actions/download-artifact@v4
with:
name: SNAP_FILE
name: snap_${{ matrix.architecture }}

- name: Set up Python 3.10
uses: actions/setup-python@v5
Expand Down

0 comments on commit ff48137

Please sign in to comment.