Skip to content

Commit

Permalink
change steps.get_tags.outputs.VERSION to github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
田震雄 authored and cfc4n committed May 4, 2024
1 parent a028ce7 commit bbd52ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
# Pass some environment variables to the container
env: | # YAML, but pipe character is necessary
artifact_name: ecapture-${{ steps.get_tags.outputs.VERSION }}
artifact_name: ecapture-${{ github.ref_name }}
# The shell to run commands with in the container
shell: /bin/sh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ jobs:
run: |
make clean
make env
make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ steps.get_tags.outputs.VERSION }}
make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ github.ref_name }}
- name: Release arm64 (CROSS COMPILATION)
run: |
make clean
make env
CROSS_ARCH=arm64 make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ steps.get_tags.outputs.VERSION }}
CROSS_ARCH=arm64 make -f builder/Makefile.release release SNAPSHOT_VERSION=${{ github.ref_name }}
- name: Publish
run: |
make -f builder/Makefile.release publish SNAPSHOT_VERSION=${{ steps.get_tags.outputs.VERSION }}
make -f builder/Makefile.release publish SNAPSHOT_VERSION=${{ github.ref_name }}

0 comments on commit bbd52ab

Please sign in to comment.