mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
The versions that are installed have not changed: the hashes correspond to the current values of the version tags that were previously used.
25 lines
435 B
YAML
25 lines
435 B
YAML
name: Publish to crates.io
|
|
|
|
on:
|
|
push:
|
|
tags: ['*.*.*']
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-24.04
|
|
|
|
environment: release
|
|
|
|
permissions:
|
|
id-token: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879 # v1.0.1
|
|
id: auth
|
|
|
|
- run: cargo publish
|
|
env:
|
|
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
|