Skip to content

Commit

Permalink
Replace deprecated command with environment file (#617)
Browse files Browse the repository at this point in the history
Signed-off-by: Jongwoo Han <[email protected]>
  • Loading branch information
jongwooo authored Oct 18, 2023
1 parent dc416c4 commit fd37558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if ${{github.event_name == 'workflow_dispatch'}}; then
BRANCH=$(git describe --abbrev=0 --tags)
fi
echo ::set-output name=BRANCH::$(echo ${BRANCH} | cut -d '.' -f1-2 | tr -d 'v')
echo "BRANCH=$(echo ${BRANCH} | cut -d '.' -f1-2 | tr -d 'v')" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
if ${{github.event_name == 'workflow_dispatch'}}; then
VERSION=$(git describe --abbrev=0 --tags)
fi
echo ::set-output name=VERSION::${VERSION}
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Get the builtvar
id: get_built
run: echo ::set-output name=BUILT::$(date -u +%a_%d_%b_%H:%M:%S_%Y)
run: echo "BUILT=$(date -u +%a_%d_%b_%H:%M:%S_%Y)" >> $GITHUB_OUTPUT

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
Expand Down

0 comments on commit fd37558

Please sign in to comment.