diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index db6d572e4f..264502229c 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -71,11 +71,6 @@ jobs: with: fetch-depth: 0 - - name: Install ccache - run: | - apt-get --quiet -y update && DEBIAN_FRONTEND=noninteractive apt-get --quiet -y install \ - ccache - - name: Git ownership workaround run: git config --system --add safe.directory '*' @@ -152,10 +147,12 @@ jobs: release: name: Create Release and Upload Artifacts + permissions: + contents: write # runs-on: ubuntu-latest runs-on: [runs-on,runner=1cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}",spot=false] needs: [setup, group_targets] - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/') steps: - name: Download Artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index b3f9542ead..69f9609776 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -96,6 +96,6 @@ jobs: platforms: | linux/amd64 provenance: mode=max - push: ${{ github.event_name != 'pull_request' }} + push: ${{ startsWith(github.ref, 'refs/tags/') }} cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/,manifests_prefix=cache/${{ github.repository }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }} cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/,manifests_prefix=cache/${{ github.repository }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max