Skip to content

Commit

Permalink
Pick correct binary
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Jul 22, 2024
1 parent 7ea945f commit dfcf220
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/intl4x_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,22 +174,30 @@ jobs:

env:
ICU4X_BUILD_MODE: local
LOCAL_ICU4X_BINARY: ../../linux_x64

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
submodules: true

- name: Download binaries
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e

- name: Display structure of downloaded files
run: ls -R

- run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
echo "LOCAL_ICU4X_BINARY=../../linux_x64" >> $GITHUB_ENV
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
echo "LOCAL_ICU4X_BINARY=../../macos_x64" >> $GITHUB_ENV
elif [ "${{ matrix.os }}" == "windows-latest" ]; then
echo "LOCAL_ICU4X_BINARY=../../windows_x64" >> $GITHUB_ENV
fi
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
submodules: true

- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
Expand Down

0 comments on commit dfcf220

Please sign in to comment.