diff --git a/.github/actions/install-cmake/action.yml b/.github/actions/install-cmake/action.yml index 4d4fa9280e..4365828380 100644 --- a/.github/actions/install-cmake/action.yml +++ b/.github/actions/install-cmake/action.yml @@ -52,16 +52,14 @@ runs: run: | cp /Volumes/CMake/CMake.app ../CMake.app hdiutil detach /Volumes/CMake - working-directory: ${{ github.workspace } + working-directory: ${{ github.workspace }} shell: bash - name: Add CMake to PATH run: | - # Note: `export PATH=` doesn't work for GitHub actions, the environment variable - # must be set by redirecting into GITHUB_ENV - echo "PATH=$PATH:$GITHUB_WORKSPACE/../CMake.app/Contents/bin" >> $GITHUB_ENV + echo "${{ github.workspace }}/../CMake.app/Contents/bin" >> $GITHUB_PATH shell: bash - name: Test CMake is in PATH run: which cmake - shell: bash \ No newline at end of file + shell: bash diff --git a/.github/workflows/check-pull-request-doesnt-update-automated-files.yml b/.github/workflows/check-pull-request-doesnt-update-automated-files.yml index 2ae66b7667..05ab58e44f 100644 --- a/.github/workflows/check-pull-request-doesnt-update-automated-files.yml +++ b/.github/workflows/check-pull-request-doesnt-update-automated-files.yml @@ -18,8 +18,8 @@ # SPDX-License-Identifier: Apache-2.0 #===----------------------------------------------------------------------===# -name: Check that pull requests don't update automated files -run-name: Checking that pull request doesn't update automated files +name: Check that pull requests don't update generated files +run-name: Checking that pull request doesn't update generated files on: pull_request: @@ -30,7 +30,7 @@ on: - ./SwiftUsd/docs/** jobs: - Fail: - runs-on: self-hosted + fail: + runs-on: ubuntu-latest steps: - run: exit 1 \ No newline at end of file