Skip to content

Commit

Permalink
GH Actions: Updates to use environment file for outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed Aug 5, 2023
1 parent 184a9bf commit 8366529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: abatilo/[email protected]

- id: echo-version
run: echo "::set-output name=version::$(poetry version --short)"
run: echo "version=$(poetry version --short)" >> $GITHUB_OUTPUT

- if: ${{ github.event_name == 'push' }}
run: >
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
type=pep440,pattern={{major}}.{{minor}},value=${{ env.VERSION }},enable=${{ env.PRERELEASE == 'false' }}
- name: prepare push tag value
id: push-tags-value
run: echo "::set-output name=tags::${{ steps.docker-metadata.outputs.tags }}" | tr "\n" " " | sed "s/${{ env.IMAGE_NAME }}://g"
run: echo "tags=${{ steps.docker-metadata.outputs.tags }}" | tr "\n" " " | sed "s/${{ env.IMAGE_NAME }}://g" >> $GITHUB_OUTPUT

- name: install dependency for multi-platform builds
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintenance-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- id: bump
run: |
poetry version patch
echo "::set-output name=version::$(poetry version --short)"
echo "version=$(poetry version --short)" >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit 8366529

Please sign in to comment.