Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 3 additions & 5 deletions .github/actions/install-cmake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
shell: bash
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -30,7 +30,7 @@ on:
- ./SwiftUsd/docs/**

jobs:
Fail:
runs-on: self-hosted
fail:
runs-on: ubuntu-latest
steps:
- run: exit 1