Skip to content

Commit

Permalink
Use a variable for output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Dec 31, 2023
1 parent 94dd24e commit 862d0e9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
create:

env:
ANGLE_BUILDER_OUTPUT_FOLDER: ./angle-builder-output

jobs:
build:
runs-on: macos-latest
Expand All @@ -20,16 +23,16 @@ jobs:
run: pip install .

- name: Build artifacts for macos-x64
run: angle-builder macos-x64 --artifact-output-folder /angle-builder-output
run: angle-builder macos-x64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER

- name: Build artifacts for macos-arm64
run: angle-builder macos-arm64 --artifact-output-folder /angle-builder-output
run: angle-builder macos-arm64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER

- name: Build artifacts for macos-universal
run: angle-builder macos-universal --artifact-output-folder /angle-builder-output
run: angle-builder macos-universal --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER

- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: macos-angle-artifacts
path: --artifact-output-folder /angle-builder-output
path: ${{ env.ANGLE_BUILDER_OUTPUT_FOLDER }}

0 comments on commit 862d0e9

Please sign in to comment.