mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 12:06:57 +00:00
Fix version format
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
tar zxvf ghr_v0.13.0_linux_amd64.tar.gz
|
tar zxvf ghr_v0.13.0_linux_amd64.tar.gz
|
||||||
sudo mv ghr_v0.13.0_linux_amd64/ghr /usr/local/bin
|
sudo mv ghr_v0.13.0_linux_amd64/ghr /usr/local/bin
|
||||||
- name: Set version
|
- name: Set version
|
||||||
run: echo "::set-env name=VERSION::$(cat ${GITHUB_EVENT_PATH} | jq -r '.release.tag_name' | sed -e 's/v//g')"
|
run: echo "::set-env name=VERSION::$(cat ${GITHUB_EVENT_PATH} | jq -r '.release.tag_name')"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user