Skip to content

ci: move ci runners to arm64 to speed up builds #4

ci: move ci runners to arm64 to speed up builds

ci: move ci runners to arm64 to speed up builds #4

Workflow file for this run

---
name: "ci"
# yamllint disable-line rule:truthy
on:
pull_request:
branches:
- "*"
push:
branches:
- main
permissions:
attestations: write
id-token: write
contents: write
jobs:
ci:
name: ci
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Pak Name
id: pak-name
run: |
echo "PAK_NAME=$(jq -r .label config.json)" >> $GITHUB_OUTPUT
- name: Create Release zip
run: |
mkdir -p dist
git archive --format=zip --output "dist/${{ steps.pak-name.outputs.PAK_NAME }}.pak.zip" HEAD
ls -lah dist
- name: Attest Build Provenance
uses: actions/attest-build-provenance@v2.1.0
with:
subject-path: "dist/${{ steps.pak-name.outputs.PAK_NAME }}.pak.zip"
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*