Skip to content

chore(version): test upgrade #719

chore(version): test upgrade

chore(version): test upgrade #719

Workflow file for this run

name: Test and Publish
on:
push:
branches:
- "master"
- "branch*"
pull_request:
branches:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
name: "publish"
environment: cargo
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check fmt
run: cargo fmt --check
- name: Cache
uses: Swatinem/rust-cache@v1
with:
key: ${{ runner.os }}-build-v0.4.0
- name: Show cargo info
run: cargo version --verbose
- name: Install publish-action
if: steps.cache-publish-action.outputs.cache-hit != 'true'
run: |
cargo install publish-action --version=0.4.0
- name: Run Test
run: |
cargo test --doc
- name: Run publish-action of oss
run: publish-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:

Check failure on line 51 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Test and Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 51, Col: 9): Unexpected value 'with'
DIR: "/"
TAG_PREFIX: "test-tag-"