Skip to content

Commit

Permalink
Fix var references.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshbrntt committed Aug 8, 2023
1 parent 6298d95 commit 9e197df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ jobs:
key: build-${{ matrix.target }}
- name: Find release archive in target directory
run: |
echo "archive_asset_path=$(find target/release -name *.zip -name *.tar.gz)" >> "$GITHUB_ENV"
echo "archive_asset_name=$(basename ${{ env.tar_asset_path }})" >> "$GITHUB_ENV"
echo "archive_asset_content_type=$(file --mime-type -b ${{ env.tar_asset_path }})" >> "$GITHUB_ENV"
echo "archive_asset_path=$(find target/release -name *.zip -o -name *.tar.gz)" >> "$GITHUB_ENV"
echo "archive_asset_name=$(basename ${{ env.archive_asset_path }})" >> "$GITHUB_ENV"
echo "archive_asset_content_type=$(file --mime-type -b ${{ env.archive_asset_path }})" >> "$GITHUB_ENV"
echo "sha256_asset_path=$(find target/release -name *.sha256)" >> "$GITHUB_ENV"
echo "sha256_asset_name=$(basename ${{ env.sha256_asset_path }})" >> "$GITHUB_ENV"
echo "sha256_asset_content_type=$(file --mime-type -b ${{ env.sha256_asset_name }})" >> "$GITHUB_ENV"
echo "sha256_asset_content_type=$(file --mime-type -b ${{ env.sha256_asset_path }})" >> "$GITHUB_ENV"
- name: Upload archive
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 9e197df

Please sign in to comment.