This commit is contained in:
parent
72ca7a1923
commit
9b3731cffe
9
.github/workflows/tags.yml
vendored
9
.github/workflows/tags.yml
vendored
@ -6,6 +6,10 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
USERNAME: ${{ vars.USERNAME }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
@ -17,10 +21,7 @@ jobs:
|
||||
|
||||
- name: set env
|
||||
run: |
|
||||
echo "TOKEN=${{ secrets.TOKEN }}" >> GITHUB_ENV
|
||||
echo "USERNAME=${{ vars.USERNAME }}" >> GITHUB_ENV
|
||||
echo "TAG_VERSION=${{ github.ref_name }}" >> GITHUB_ENV
|
||||
echo "SHORTSHA=$(git rev-parse --short HEAD)" >> GITHUB_ENV
|
||||
git rev-parse --short HEAD >> ./shortsha
|
||||
|
||||
- name: Build amd64
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user