Skip to content

Adding '+refinery NO TRANSACTION' directive #126

Adding '+refinery NO TRANSACTION' directive

Adding '+refinery NO TRANSACTION' directive #126

Workflow file for this run

name: Publish a release to crates.io

Check failure on line 1 in .github/workflows/cargo-publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/cargo-publish.yaml

Invalid workflow file

(Line: 28, Col: 9): 'args' is already defined, (Line: 37, Col: 9): 'args' is already defined, (Line: 46, Col: 9): 'args' is already defined, (Line: 55, Col: 9): 'args' is already defined
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
upload-crate:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Publish refinery-core
uses: actions-rs/cargo@v1
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
with:
command: publish
args: --all-features refinery-core
args: --token $CARGO_TOKEN
- name: Publish refinery-macros
uses: actions-rs/cargo@v1
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
with:
command: publish
args: --all-features refinery-macros
args: --token $CARGO_TOKEN
- name: Publish refinery
uses: actions-rs/cargo@v1
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
with:
command: publish
args: --all-features refinery
args: --token $CARGO_TOKEN
- name: Publish refinery-cli
uses: actions-rs/cargo@v1
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
with:
command: publish
args: --all-features refinery-cli
args: --token $CARGO_TOKEN