Skip to content

Commit

Permalink
proper output set for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Oct 26, 2024
1 parent ecd3840 commit 996a102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ jobs:
id: compressed-binary
run: |
gzip -9 packages/gateway/hive-gateway${{ runner.os == 'Windows' && '.exe' || '' }}
echo "name=hive-gateway-${{ runner.os }}-${{ runner.arch }}${{ runner.os == 'Windows' && '.exe.gz' || '.gz'}}" >> "$GITHUB_OUTPUT"
echo "path=packages/gateway/hive-gateway${{ runner.os == 'Windows' && '.exe.gz' || '.gz' }}" >> "$GITHUB_OUTPUT"
echo "name=hive-gateway-${{ runner.os }}-${{ runner.arch }}${{ runner.os == 'Windows' && '.exe.gz' || '.gz'}}" >> ${{ runner.os == 'Windows' && '$ENV:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
echo "path=packages/gateway/hive-gateway${{ runner.os == 'Windows' && '.exe.gz' || '.gz' }}" >> ${{ runner.os == 'Windows' && '$ENV:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
- if: github.ref == 'refs/heads/main'
name: Upload release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 996a102

Please sign in to comment.