Skip to content

Commit

Permalink
fix dist paths
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Jan 8, 2025
1 parent d93414e commit f108899
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
run: |
npx pkg . -t macos --compress GZip
cd ./dist
cp -f heta-compiler-macos heta-compiler
chmod 775 heta-compiler
tar -czvf ./heta-compiler-macos.tar.gz ./heta-compiler
cd ..
Expand All @@ -28,7 +27,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/heta-compiler-macos
asset_path: dist/heta-compiler
asset_name: heta-compiler-macos-x64
asset_content_type: application/octet-stream

Expand All @@ -53,7 +52,6 @@ jobs:
run: |
npx pkg . -t linux --compress GZip
cd ./dist
cp -f heta-compiler-linux heta-compiler
chmod 775 heta-compiler
tar -czvf ./heta-compiler-linux.tar.gz ./heta-compiler
cd ..
Expand All @@ -62,7 +60,7 @@ jobs:
mkdir -p dist/heta-compiler-deb/DEBIAN
cp build-deb/control dist/heta-compiler-deb/DEBIAN/
mkdir -p dist/heta-compiler-deb/usr/local/bin
cp dist/heta-compiler-linux dist/heta-compiler-deb/usr/local/bin/heta
cp dist/heta-compiler dist/heta-compiler-deb/usr/local/bin/heta
dpkg-deb --build dist/heta-compiler-deb
- name: Upload Release Asset Linux
Expand All @@ -71,7 +69,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/heta-compiler-linux
asset_path: dist/heta-compiler
asset_name: heta-compiler-linux-x64
asset_content_type: application/octet-stream

Expand Down

0 comments on commit f108899

Please sign in to comment.