Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snail committed Oct 24, 2024
1 parent 2c1f142 commit 00f7c52
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set variables
id: vars
- name: Set output
id: set_output
run: |
echo "tag=`basename ${{ github.ref }}`" >> $GITHUB_OUTPUT
echo ${{ steps.vars.outputs.tag }}
echo ${{ steps.set_output.outputs.tag }}
pwd
# golang_version=1.22
# cgo_enabled=0
- name: show
run: |
echo "Version is ${{ steps.set_output.outputs.tag }}"
- name: Set up Go
uses: actions/setup-go@v2
Expand Down Expand Up @@ -61,6 +63,7 @@ jobs:
build-image:
runs-on: ubuntu-latest
needs: build-binary
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 00f7c52

Please sign in to comment.