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
12 changes: 11 additions & 1 deletion .github/workflows/build-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- ".github/workflows/build-amd64.yml"
workflow_dispatch:

permissions:
id-token: write
attestations: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -160,12 +164,18 @@ jobs:
cat clang-tidy-${{ env.suffix }}.sha512sum
cat clang-apply-replacements-${{ env.suffix }}.sha512sum
- name: upload artifacts
if: ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
if: ${{ github.actor != 'dependabot[bot]' }}
uses: actions/upload-artifact@v3
with:
name: clang-tools
path: "${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}*"
retention-days: 1
- name: create attestations
if: ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v1
with:
subject-path: "${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}"

draft-release:
runs-on: ubuntu-22.04
if: ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Static Binaries
name: Test static binaries

on:
workflow_dispatch:
Expand Down