Bump tokio from 1.32.0 to 1.34.0 #155
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: Create release | |
on: | |
pull_request: | |
types: | |
- closed | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
produce_binaries: | |
name: Compile released binaries | |
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust Stable | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release --all-features | |
- name: Archive release folder | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release-folder | |
path: target/release | |
retention-days: 7 | |
create_release: | |
name: Create from merged release branch | |
uses: monero-rs/workflows/.github/workflows/[email protected] | |
needs: produce_binaries | |
with: | |
artifact_name: release-folder | |
files: | | |
base58m/target/release/base58m | |
release_to_crates: | |
name: Publish the new release to crates.io | |
needs: create_release | |
uses: monero-rs/workflows/.github/workflows/[email protected] | |
secrets: | |
cratesio_token: ${{ secrets.H4SH3D_CARGO_REGISTRY_TOKEN }} |