Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- "v*"
pull_request:

permissions:
id-token: write
attestations: write

jobs:
compile-all:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -241,6 +245,10 @@ jobs:
- name: Build OS packages
run: .github/scripts/generate-os-packages.sh
shell: bash
- uses: actions/attest-build-provenance@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
subject-path: 'artifacts/*'
- uses: actions/upload-artifact@v4
with:
name: launchers-${{ matrix.OSSHORT }}
Expand All @@ -267,6 +275,10 @@ jobs:
- name: Copy artifacts
run: .github/scripts/maybe-with-graalvm-home.sh copyStaticLauncher --directory artifacts/
shell: bash
- uses: actions/attest-build-provenance@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
subject-path: 'artifacts/*'
- uses: actions/upload-artifact@v4
with:
name: launchers-static
Expand All @@ -293,6 +305,10 @@ jobs:
- name: Copy artifacts
run: .github/scripts/maybe-with-graalvm-home.sh copyMostlyStaticLauncher --directory artifacts/
shell: bash
- uses: actions/attest-build-provenance@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
subject-path: 'artifacts/*'
- uses: actions/upload-artifact@v4
with:
name: launchers-mostly-static
Expand All @@ -319,6 +335,10 @@ jobs:
- name: Copy artifacts
run: .github/scripts/maybe-with-graalvm-home.sh copyContainerLauncher --directory artifacts/
shell: bash
- uses: actions/attest-build-provenance@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
subject-path: 'artifacts/*'
- uses: actions/upload-artifact@v4
with:
name: launchers-container
Expand All @@ -344,6 +364,10 @@ jobs:
run: ./mill -i waitForSync
- name: Copy artifacts
run: ./mill -i copyJarLaunchers
- uses: actions/attest-build-provenance@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
subject-path: 'artifacts/*'
- uses: actions/upload-artifact@v4
with:
name: launchers-jar
Expand Down
Loading