Skip to content

Commit

Permalink
Disambiguate artifact names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Sep 5, 2024
1 parent 13aea51 commit 00f520c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gen-scie-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ jobs:
- platform: Linux x86_64
os: ubuntu-22.04
docker-arch: amd64
artifact-name: linux-x86_64
- platform: Linux aarch64
os: ubuntu-22.04
docker-arch: arm64
artifact-name: linux-aarch64
- platform: macOS x86_64
os: macos-13
artifact-name: macos-x86_64
- platform: macOS arm64
os: macos-14
artifact-name: macos-aarch64
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Pex
Expand Down Expand Up @@ -78,4 +82,5 @@ jobs:
- name: Upload Complete Platform File Artifact
uses: actions/upload-artifact@v4
with:
name: complete-platform-${{ matrix.artifact-name }}
path: ${{ github.event.inputs.dest-dir }}/*
2 changes: 2 additions & 0 deletions scripts/gen_scie_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def create_all_complete_platforms(

def current_platform() -> str:
system = platform.system().lower()
if system == "darwin":
system = "macos"
machine = platform.machine().lower()
if machine in ("aarch64", "arm64"):
return f"{system}-aarch64"
Expand Down

0 comments on commit 00f520c

Please sign in to comment.