已修改 .github/workflows/test.yaml
This commit is contained in:
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@@ -98,6 +98,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v6
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: ${{needs.go.outputs.version}}
|
go-version: ${{needs.go.outputs.version}}
|
||||||
|
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
run: |
|
run: |
|
||||||
VERSION="${GITHUB_REF_NAME,,}-$(git rev-parse --short HEAD)"
|
VERSION="${GITHUB_REF_NAME,,}-$(git rev-parse --short HEAD)"
|
||||||
@@ -113,11 +114,6 @@ jobs:
|
|||||||
echo "CGO_ENABLED=0" >> $GITHUB_ENV
|
echo "CGO_ENABLED=0" >> $GITHUB_ENV
|
||||||
echo "BUILDTAG=-extldflags --static" >> $GITHUB_ENV
|
echo "BUILDTAG=-extldflags --static" >> $GITHUB_ENV
|
||||||
echo "GOTOOLCHAIN=local" >> $GITHUB_ENV
|
echo "GOTOOLCHAIN=local" >> $GITHUB_ENV
|
||||||
- name: Set ENV
|
|
||||||
run: |
|
|
||||||
sudo timedatectl set-timezone "Asia/Shanghai"
|
|
||||||
echo "BUILDTIME=$(date)" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Update CA
|
- name: Update CA
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user