mirror of
https://github.com/Vomitblood/stort.git
synced 2024-11-30 07:41:14 +08:00
updated github actions workflow
This commit is contained in:
parent
3fca34aaed
commit
48d2794623
10
.github/workflows/build-validation.yml
vendored
10
.github/workflows/build-validation.yml
vendored
|
@ -16,13 +16,15 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: apt update && apt install -y git
|
run: apt update && apt install -y git
|
||||||
|
|
||||||
- name: Get Variables
|
- name: Get Variables
|
||||||
run: echo "TAG_NAME=commit-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
run: |
|
||||||
|
echo "TAG_NAME=commit-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
|
echo "TAG_NAME=commit-$(git rev-parse --short HEAD)"
|
||||||
|
|
||||||
# - name: Update packages
|
# - name: Update packages
|
||||||
# run: apt update && apt upgrade -y
|
# run: apt update && apt upgrade -y
|
||||||
|
@ -55,8 +57,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: commit-${{ env.TAG_NAME }}
|
tag_name: commit-$(git rev-parse --short HEAD)
|
||||||
release_name: commit-${{ env.TAG_NAME }}
|
release_name: commit-$(git rev-parse --short HEAD)
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue