Skip to content

Commit

Permalink
ci: update set-output to use GITHUB_OUTPUT in workflow (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
aramase committed Oct 28, 2022
1 parent fa92133 commit 129ed92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
go-version: "1.19"
- id: get-tag
name: Get tag
run: echo "::set-output name=tag::$(echo ${{ github.event.pull_request.head.ref }} | tr -d release-)"
run: echo "tag=$(echo ${{ github.event.pull_request.head.ref }} | tr -d release-)" >> $GITHUB_OUTPUT
- name: Create tag
run: |
git tag ${{ steps.get-tag.outputs.tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- id: export
run: |
# registry must be in lowercase
echo "::set-output name=registry::$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])"
echo "registry=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])" >> $GITHUB_OUTPUT
publish-images:
needs: export-registry
Expand Down

0 comments on commit 129ed92

Please sign in to comment.