ci?
Some checks failed
CI / Typos (push) Successful in 12s
CI / Clippy (push) Failing after 31s
CI / Build (push) Failing after 1m8s

This commit is contained in:
2025-02-25 19:37:02 -08:00
parent 81fcd2a6e2
commit 073c42b2eb
5 changed files with 120 additions and 7 deletions

View File

@ -16,7 +16,7 @@ jobs:
- name: Check typos
uses: crate-ci/typos@master
with:
config: ./typos.toml
config: ./tools/typos.toml
clippy:
name: "Clippy"
@ -50,7 +50,33 @@ jobs:
sudo apt update
DEBIAN_FRONTEND=noninteractive \
sudo apt install --yes \
rustup nasm
rustup nasm python3-requests
- name: Build
run: make
# Upload build output
- name: "Save output"
uses: actions/upload-artifact@v3
with:
name: "Build output"
path: "build/*"
retention-days: 7
- name: "Publish package (hash)"
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \
VERSION="${{ github.sha }}" \
PACKAGE="${{ vars.PACKAGE }}" \
python tools/scripts/publish.py
- name: "Publish package (latest)"
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \
VERSION="latest" \
PACKAGE="${{ vars.PACKAGE }}" \
python tools/scripts/publish.py