Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an environment variable to define output folder on GA job #3

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading