refactor: update process handling code to conform to new norm #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Create release | |
run: make clean build release | |
- name: Get Pak Name | |
id: pak-name | |
run: | | |
echo "PAK_NAME=$(jq -r .label config.json)" >> $GITHUB_OUTPUT | |
- 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/* |