diff --git a/.github/actions/common-setup/action.yml b/.github/actions/common-setup/action.yml index 68a47e707e6..632a14485c8 100644 --- a/.github/actions/common-setup/action.yml +++ b/.github/actions/common-setup/action.yml @@ -100,7 +100,7 @@ runs: path: ${{ github.workspace }}/build/llvm-project-install key: ${{ steps.cache-llvm.outputs.cache-primary-key }} - - name: Set environment variable for CMake and sccache + - name: Set environment variable for CMake shell: bash run: | if [ "${{inputs.build-llvm}}" == "true" ]; then @@ -108,13 +108,6 @@ runs: echo "Clang_DIR=${{ github.workspace }}/build/llvm-project-install" >> "$GITHUB_ENV" fi - # Set CMake to use sccache if it's available - if command -v sccache; then - echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV" - echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV" - fi - echo SCCACHE_IGNORE_SERVER_IO_ERROR=1 >> "$GITHUB_ENV" - # Install swiftshader - uses: robinraju/release-downloader@v1.11 continue-on-error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5319fa3734d..2981708b5c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,16 +3,8 @@ name: Release on: workflow_dispatch: push: - # Also run on pushes to the main branch so that we can keep the llvm and sccache - # caches filled in a scope available to everyone - branches: - - master - paths-ignore: - - "docs/**" - - "LICENSES/**" - - "LICENSE" - - "CONTRIBUTING.md" - - "README.md" + # We are not caching the builds so we don't want to run the release workflow for every push to master; + # The release workflow is only triggered by tags or manual dispatch tags: - "v*" jobs: