From 862d0e90267e27c9b6562a1b6a5145efdf4990d8 Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sun, 31 Dec 2023 19:49:08 +0100 Subject: [PATCH] Use a variable for output folder --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8dbce9..b1305df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,9 @@ on: pull_request: create: +env: + ANGLE_BUILDER_OUTPUT_FOLDER: ./angle-builder-output + jobs: build: runs-on: macos-latest @@ -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 }}