chore(deps): bump anyhow from 1.0.79 to 1.0.83 #49
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: CI | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
tags: ['[0-9]+.[0-9]+.[0-9]+'] | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: | |
contents: write | |
jobs: | |
all: | |
name: All | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: ${{ github.ref_type == 'tag' && 'Build' || 'Build & CI' }} | |
run: | | |
sudo apt-get update && sudo apt-get install -y binaryen | |
[ $GITHUB_REF_TYPE = "tag" ] && cargo b --workspace || cargo xtask ci | |
- name: Update the nightly tag | |
if: github.ref == 'refs/heads/master' | |
run: | | |
git tag nightly | |
git push -f origin nightly | |
- name: Release | |
if: github.event_name != 'pull_request' | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: ${{ github.ref == 'refs/heads/master' && 'Nightly' || github.ref_name }} | |
tag_name: ${{ github.ref == 'refs/heads/master' && 'nightly' || github.ref_name }} | |
prerelease: ${{ github.ref == 'refs/heads/master' }} | |
files: | | |
target/wasm32-unknown-unknown/debug/*.*.wasm | |
target/wasm32-unknown-unknown/debug/*.meta.txt |