Skip to content

Commit

Permalink
added release-ext and attest
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Dec 2, 2024
1 parent 728ef73 commit 260e5b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,28 @@ jobs:
runs-on: "ubuntu-20.04"
target: "x86_64-unknown-linux-gnu"
platform: "x86_64-linux"
release-ext: "zip"
- name: "linux-arm64"
runs-on: ["self-hosted", "Linux", "ARM64", "ubuntu20.04"] # Array of tags for ARM64
target: "aarch64-unknown-linux-gnu"
platform: "arm64-linux"
release-ext: "zip"
- name: "macos-x86_64"
runs-on: "macos-13"
target: "x86_64-apple-darwin"
platform: "x86_64-mac"
release-ext: "dmg"
- name: "macos-arm64"
runs-on: "macos-latest"
target: "aarch64-apple-darwin"
platform: "arm64-mac"
release-ext: "dmg"
- name: "Windows"
runs-on: "ubuntu-20.04"
target: "x86_64-pc-windows-gnu"
platform: "windows"
ext: ".exe"
release-ext: "zip"

runs-on: ${{ matrix.runs-on }}

Expand Down Expand Up @@ -138,6 +143,11 @@ jobs:
- name: Package release
run: "${GITHUB_WORKSPACE}/scripts/pack.sh ${{ env.VERSION }} ${{ matrix.platform }} ${{ matrix.ext }}"

- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: 'dash-evo-tool-${{ matrix.platform }}.${{ matrix.release-ext }}'

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 260e5b5

Please sign in to comment.