Skip to content

fix: deprecated ::set-output syntax breaks release outputs - #88

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/publish-fc7e17e0
Open

fix: deprecated ::set-output syntax breaks release outputs#88
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/publish-fc7e17e0

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

This PR addresses the following issue in fouroversix/.github/workflows/publish.yml: deprecated ::set-output syntax breaks release outputs.

Changes

  • fouroversix/.github/workflows/publish.yml: deprecated ::set-output syntax breaks release outputs.

Details

--- a/fouroversix/.github/workflows/publish.yml
+++ b/fouroversix/.github/workflows/publish.yml
@@ -1,2 +1,2 @@
-        run: echo ::set-output name=branch::${GITHUB_REF#refs/tags/}
-        shell: bash
+        run: echo "branch=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
+        shell: bash

Tests

Let me know if you want tests added for this fix or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant