Author SHA1 Message Date
chrnx 846874d33d Merge pull request 'release: promote develop → main' (#5) from develop into main
CI / check (push) Successful in 43s
Promote → GitHub / push-github (push) Successful in 7s
2026-07-18 19:04:12 +00:00
chrnx 2a3dae99f5 Merge pull request 'feat: Create command finished' (#3) from develop into main
Release / prepare (push) Successful in 4s
Release / build (macos-14, aarch64-apple-darwin) (push) Successful in 12s
Release / build (macos-14, x86_64-apple-darwin) (push) Successful in 11s
Release / build (ubuntu-latest, x86_64-unknown-linux-musl) (push) Successful in 37s
Reviewed-on: #3
2026-07-13 00:24:45 +00:00
+1 -8
View File
@@ -83,23 +83,16 @@ jobs:
matcha-${{ matrix.target }}.tar.gz.sha256 matcha-${{ matrix.target }}.tar.gz.sha256
# crates.io = production only. # crates.io = production only.
# crates.io = production only, via OIDC Trusted Publishing (no CARGO_TOKEN).
# Requires a trusted publisher configured on crates.io (Expressive-Tea/matcha, release.yml).
publish-crate: publish-crate:
if: ${{ github.server_url == 'https://github.com' }} if: ${{ github.server_url == 'https://github.com' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
id-token: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Rust - name: Install Rust
run: | run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
# Exchanges the OIDC id-token for a short-lived crates.io token.
- uses: rust-lang/crates-io-auth-action@v1
id: auth
- name: cargo publish - name: cargo publish
env: env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: cargo publish --locked run: cargo publish --locked