This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
chore: bump wasmbus-rpc #79
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: NUMBERGEN | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "numbergen/rust/**" | |
tags: | |
- 'wasmcloud-interface-numbergen-v*' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "numbergen/rust/**" | |
env: | |
CARGO_TERM_COLOR: always | |
working-directory: ./numbergen/rust | |
jobs: | |
rust_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- id: rust-check-action | |
uses: wasmcloud/common-actions/rust-check@main | |
with: | |
working-directory: ${{ env.working-directory }} | |
github_release: | |
if: startswith(github.ref, 'refs/tags/') # Only run on tag push | |
needs: rust_check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
draft: false | |
prerelease: true | |
crates_release: | |
if: startswith(github.ref, 'refs/tags/') # Only run on tag push | |
needs: github_release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- id: crates-release-action | |
uses: wasmcloud/common-actions/crates-release@main | |
with: | |
working-directory: ${{ env.working-directory }} | |
crates-token: ${{ secrets.CRATES_PUBLISH_TOKEN }} |