diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 773aba7..263594d 100755 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -2,7 +2,7 @@ name: covector version or publish on: push: branches: - - dev + - dev jobs: covector: @@ -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 }}" @@ -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