Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update ::set-output to >> (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
thokra-nav committed Nov 17, 2022
1 parent 8a546e8 commit 951f155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: set-version
run: |
echo Faking a Semantic Version
echo ::set-output name=version::${{ env.VERSION }}.$(date "+%Y%m%d%H%M%S")
echo "version=${{ env.VERSION }}.$(date "+%Y%m%d%H%M%S")" >> $GITHUB_OUTPUT
test:
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
- name: Create tags
id: container-tags
run: |
echo ::set-output name=cli-tag::${{ env.IMAGE_NAME }}:${{ needs.set-version.outputs.version }}
echo ::set-output name=action-tag::${{ env.IMAGE_NAME }}:${{ env.VERSION }}
echo "cli-tag=${{ env.IMAGE_NAME }}:${{ needs.set-version.outputs.version }}" >> $GITHUB_OUTPUT
echo "action-tag=${{ env.IMAGE_NAME }}:${{ env.VERSION }}" >> $GITHUB_OUTPUT
- name: Only push from main
if: ${{ github.ref == 'refs/heads/main' }}
run: |
Expand Down

0 comments on commit 951f155

Please sign in to comment.