From 2d91faddb71f6b4ab14c393c4c15601799accadc Mon Sep 17 00:00:00 2001 From: Anders Smedegaard Pedersen Date: Mon, 2 Dec 2024 21:16:37 +0100 Subject: [PATCH] env GITHUB_TOKEN --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5a60063..d0a182c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,8 +28,9 @@ jobs: run: | git add Cargo.toml git commit -m '[Github Actions] update version to ${{ steps.get_version.outputs.RELEASE_VERSION }}' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} + git push origin HEAD:main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to crates.io run: cargo publish --token ${CRATES_TOKEN}