Skip to content

Commit

Permalink
fix(ci): cargo login
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Sep 17, 2022
1 parent d3e1ce3 commit 19779bb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: covector version or publish
on:
push:
branches:
- dev
- dev

jobs:
covector:
Expand All @@ -15,7 +15,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"

- name: cargo login
run: cargo login ${{ secrets.crate_token }}

- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
Expand All @@ -25,7 +29,7 @@ jobs:
id: covector
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
command: "version-or-publish"
createRelease: true
- name: create pull request
id: cpr
Expand Down

0 comments on commit 19779bb

Please sign in to comment.