Beatsaber Rust Utilities: A Beatsaber V3 parsing library.
beatsaber beatmap
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2 from AlephCubed/publish-gh-action

Added publish GH action.

authored by

AlephCubed and committed by
GitHub
36d1af0d 5f345d80

+32 -8
+24
.github/workflows/publish.yml
··· 1 + name: Publish to crates.io 2 + 3 + on: 4 + push: 5 + tags: ['v*'] # Triggers when pushing tags starting with 'v' 6 + 7 + env: 8 + CARGO_TERM_COLOR: always 9 + 10 + jobs: 11 + publish: 12 + 13 + runs-on: ubuntu-latest 14 + 15 + permissions: 16 + id-token: write # Required for OIDC token exchange 17 + 18 + steps: 19 + - uses: actions/checkout@v4 20 + - uses: rust-lang/crates-io-auth-action@v1 21 + id: auth 22 + - run: cargo publish 23 + env: 24 + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
+8 -8
.github/workflows/rust.yml
··· 1 - name: Rust 1 + name: Rust CI 2 2 3 3 on: 4 4 push: 5 - branches: [ "main" ] 5 + branches: ["main"] 6 6 pull_request: 7 - branches: [ "main" ] 7 + branches: ["main"] 8 8 9 9 env: 10 10 CARGO_TERM_COLOR: always ··· 15 15 runs-on: ubuntu-latest 16 16 17 17 steps: 18 - - uses: actions/checkout@v4 19 - - name: Build 20 - run: cargo build --verbose 21 - - name: Run tests 22 - run: cargo test --verbose 18 + - uses: actions/checkout@v4 19 + - name: Build 20 + run: cargo build --verbose 21 + - name: Run tests 22 + run: cargo test --verbose