diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index c3dc99b9..729f40f8 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -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 .. @@ -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 @@ -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 .. @@ -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 @@ -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