-
Notifications
You must be signed in to change notification settings - Fork 32
use Env variables for output #504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,15 +85,15 @@ jobs: | |
| # get sha256 checksum of the XCFramework | ||
| - name: Get SHA256 checksum (RadarSDK) | ||
| id: checksum_radarsdk | ||
| run: echo "::set-output name=checksum::$(shasum -a 256 RadarSDK.xcframework.zip | cut -d ' ' -f 1)" | ||
| run: echo "{checksum}={$(shasum -a 256 RadarSDK.xcframework.zip | cut -d ' ' -f 1)}" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Get SHA256 checksum (RadarSDKMotion) | ||
| id: checksum_radarsdkmotion | ||
| run: echo "::set-output name=checksum::$(shasum -a 256 RadarSDKMotion.xcframework.zip | cut -d ' ' -f 1)" | ||
| run: echo "{checksum}={$(shasum -a 256 RadarSDKMotion.xcframework.zip | cut -d ' ' -f 1)}" >> $GITHUB_OUTPUT | ||
|
||
|
|
||
| - name: Get SHA256 checksum (RadarSDKIndoors) | ||
| id: checksum_radarsdkindoors | ||
| run: echo "::set-output name=checksum::$(shasum -a 256 RadarSDKIndoors.xcframework.zip | cut -d ' ' -f 1)" | ||
| run: echo "{checksum}={$(shasum -a 256 RadarSDKIndoors.xcframework.zip | cut -d ' ' -f 1)}" >> $GITHUB_OUTPUT | ||
|
||
|
|
||
| - name: Repository Dispatch | ||
| if: ${{ !github.event.release.prerelease }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The syntax for setting output variables using
$GITHUB_OUTPUTis incorrect. The format should use=to separate the key and value, not curly braces. Additionally, the command substitution should not have curly braces around it.The correct syntax is:
Instead of: