diff options
author | Lukasz Woznicki <75632179+makr11st@users.noreply.github.com> | 2021-04-23 16:36:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 17:36:57 +0200 |
commit | 64bb939182487cf59b4b43a6ba975e447a487a16 (patch) | |
tree | 2b529cd9a58cb990e0350d20824fe9f3f9aca81a /.github | |
parent | eb21c0a2d47376eb839b62a25c445e3b25d43b33 (diff) |
Modify versioning script to use github token (#199)
* Modify versioning script to use github token
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/hosted-post-merge_version_update.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/hosted-post-merge_version_update.yml b/.github/workflows/hosted-post-merge_version_update.yml index 8c8efaa7..d361d09e 100644 --- a/.github/workflows/hosted-post-merge_version_update.yml +++ b/.github/workflows/hosted-post-merge_version_update.yml @@ -19,6 +19,16 @@ jobs: git config --global user.email "info@thin-edge.io" git config --global user.name "Versioneer" + - name: enable toolchain via github action + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.51 + components: cargo + override: true + + - name: Enable cache + uses: Swatinem/rust-cache@v1 + - name: Install cargo-release uses: actions-rs/cargo@v1 with: @@ -29,4 +39,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: release - args: patch -vv --no-confirm + args: patch -vv --no-confirm --token ${{secrets.GITHUB_TOKEN}} |