diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 685910a..6bf3666 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,7 @@ jobs: git add package.json Cargo.toml bindings/rust/README.md git commit -m "chore(manifests): bump version to $version" git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master - # TODO: get access to/collaborate on npm package + # TODO: get access to/collaborate on npm package & rust crate # - name: Setup Node.js # uses: actions/setup-node@v3 # with: @@ -60,23 +60,23 @@ jobs: # - run: npm publish # env: # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - name: Setup Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Publish to Crates.io - uses: katyo/publish-crates@v2 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} - - uses: actions/checkout@v3 - - name: Tag stable versions - run: | - git config user.name github-actions[bot] - git config user.email github-actions[bot]@users.noreply.github.com - git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" - git tag -d stable || true - git push origin :stable || true - git tag -a stable -m "Last Stable Release" - git push origin stable + # - name: Setup Rust + # uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # override: true + # - name: Publish to Crates.io + # uses: katyo/publish-crates@v2 + # with: + # registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + # - uses: actions/checkout@v3 + # - name: Tag stable versions + # run: | + # git config user.name github-actions[bot] + # git config user.email github-actions[bot]@users.noreply.github.com + # git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" + # git tag -d stable || true + # git push origin :stable || true + # git tag -a stable -m "Last Stable Release" + # git push origin stable