fixed release step
This commit is contained in:
@@ -170,13 +170,42 @@ jobs:
|
||||
chmod +x dist/android-file-handler
|
||||
# explicit filename into dist/
|
||||
fpm -s dir -t pacman -n android-file-handler -v "$VERSION" --architecture x86_64 --prefix /usr/local/bin -p "dist/android-file-handler-${VERSION}-1-x86_64.pkg.tar.zst" dist/android-file-handler
|
||||
|
||||
- name: Upload Arch package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: arch-package
|
||||
path: dist/*.pkg.tar.*
|
||||
|
||||
- name: Upload Arch package
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
|
||||
create-release:
|
||||
needs: [build-windows, build-debian, build-arch, build-rocky]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: arch-package
|
||||
path: dist/*.pkg.tar.*
|
||||
merge-multiple: true
|
||||
path: ./binaries
|
||||
|
||||
- name: List downloaded binaries (debug)
|
||||
run: |
|
||||
echo "Downloaded files:"
|
||||
ls -la ./binaries || true
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
./binaries/android-file-handler.exe
|
||||
./binaries/android-file-handler_*.deb
|
||||
./binaries/android-file-handler-*.rpm
|
||||
./binaries/android-file-handler-*-x86_64.pkg.tar.*
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# build-rocky:
|
||||
# runs-on: ubuntu-latest
|
||||
# container:
|
||||
@@ -299,31 +328,3 @@ jobs:
|
||||
# with:
|
||||
# name: rocky-package
|
||||
# path: dist/*.rpm
|
||||
|
||||
# create-release:
|
||||
# needs: [build-windows, build-debian, build-arch, build-rocky]
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Download all artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# merge-multiple: true
|
||||
# path: ./binaries
|
||||
|
||||
# - name: List downloaded binaries (debug)
|
||||
# run: |
|
||||
# echo "Downloaded files:"
|
||||
# ls -la ./binaries || true
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
./binaries/android-file-handler.exe
|
||||
./binaries/android-file-handler_*.deb
|
||||
./binaries/android-file-handler-*.rpm
|
||||
./binaries/android-file-handler-*-x86_64.pkg.tar.*
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user