Skip to content

Commit

Permalink
fixa ci och cargo token
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-thomas committed Sep 28, 2023
1 parent ff76790 commit 033252b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
publish:
name: Build and test
name: Build and test and publish
runs-on: ubuntu-latest

steps:
Expand All @@ -19,14 +19,14 @@ jobs:
- name: Run tests
run: cargo test
- name: Publish clier_parser
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier_parser
run: cargo publish -p clier_parser
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
- name: Publish clier
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier
run: cargo publish -p clier
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
- name: Publish clier_cli
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier_cli
run: cargo publish -p clier_cli
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}

0 comments on commit 033252b

Please sign in to comment.