-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98b1faf
commit 714ba99
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,22 +125,22 @@ jobs: | |
name: Get Release File Name & Upload URL on Widows | ||
id: get_release_info | ||
run: | | ||
echo "upload_url=$(cat release_url/release_url.txt)" >> $env:GITHUB_OUTPUT | ||
echo "upload_url=$(cat release_url/release_url.txt)" >> $env:GITHUB_ENV | ||
# See Note [environment variables] | ||
- if: matrix.os != 'windows-latest' | ||
name: Get Release File Name & Upload URL not on Widows | ||
id: get_release_info | ||
run: | | ||
echo "upload_url=$(cat release_url/release_url.txt)" >> $GITHUB_OUTPUT | ||
echo "upload_url=$(cat release_url/release_url.txt)" >> $GITHUB_ENV | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | ||
upload_url: ${{ env.upload_url }} | ||
asset_path: ${{ env.BINARY_PATH }} | ||
asset_name: stan-${{ steps.tag.outputs.tag }}-${{ runner.os }}-ghc-${{ matrix.ghc }}${{ env.EXT }} | ||
asset_content_type: application/octet-stream |