Skip to content

Commit

Permalink
fix release-build
Browse files Browse the repository at this point in the history
  • Loading branch information
khusmann committed Oct 10, 2024
1 parent 86a70ae commit 7b20d4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ jobs:
if: runner.os == 'Windows'
run: mv $(ls *.zip) interlacer-${{ matrix.os }}.zip

- name: Get the name of the binary package (macOS/Linux)
- name: Get the name of the binary package (macOS)
if: runner.os != 'Windows'
run: mv $(ls *.tar.gz) interlacer-${{ matrix.os }}.tar.gz
run: mv $(ls *.tgz) interlacer-${{ matrix.os }}.tgz

# Temporary step for testing to upload the artifact
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: interlacer-${{ matrix.os }}
path: |
*.tar.gz
*.tgz
*.zip
release:
Expand Down Expand Up @@ -73,6 +73,6 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/interlacer-${{ matrix.os }}.tar.gz
asset_name: "interlacer-${{ matrix.os }}.tar.gz"
asset_path: ./dist/interlacer-${{ matrix.os }}.tgz
asset_name: "interlacer-${{ matrix.os }}.tgz"
asset_content_type: application/gzip

0 comments on commit 7b20d4c

Please sign in to comment.