for all that is holy please work and push the releases
This commit is contained in:
parent
beac3f6106
commit
c394cb5300
1 changed files with 13 additions and 10 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
|
@ -31,7 +31,6 @@ jobs:
|
||||||
- name: Create AppDir and Files
|
- name: Create AppDir and Files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p AppDir/usr/bin
|
mkdir -p AppDir/usr/bin
|
||||||
pyinstaller --onefile --windowed time_logix.py
|
|
||||||
cp dist/time_logix AppDir/usr/bin/time_logix
|
cp dist/time_logix AppDir/usr/bin/time_logix
|
||||||
# Create AppRun file
|
# Create AppRun file
|
||||||
cat <<'EOF' > AppDir/AppRun
|
cat <<'EOF' > AppDir/AppRun
|
||||||
|
|
@ -52,7 +51,7 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
# Download a placeholder icon and save it as appicon.png in AppDir
|
# Download a placeholder icon and save it as appicon.png in AppDir
|
||||||
wget -q -O AppDir/appicon.png https://placehold.co/256
|
wget -q -O AppDir/appicon.png https://placehold.co/256
|
||||||
|
|
||||||
- name: Install FUSE library
|
- name: Install FUSE library
|
||||||
run: sudo apt-get update && sudo apt-get install -y libfuse2
|
run: sudo apt-get update && sudo apt-get install -y libfuse2
|
||||||
|
|
||||||
|
|
@ -121,15 +120,19 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Linux AppImage to Release
|
- name: Upload Linux AppImage to Release
|
||||||
uses: softprops/action-gh-release-upload@v2
|
shell: bash
|
||||||
with:
|
run: |
|
||||||
asset_path: ./$(ls | grep AppImage)
|
gh release upload ${{ github.ref_name }} ./$(ls | grep AppImage) \
|
||||||
asset_name: TimeLogix-AppImage.AppImage
|
--name TimeLogix-AppImage.AppImage \
|
||||||
asset_content_type: application/octet-stream
|
--label "Linux AppImage"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Windows EXE to Release
|
- name: Upload Windows EXE to Release
|
||||||
uses: softprops/action-gh-release-upload@v2
|
shell: bash
|
||||||
with:
|
run: |
|
||||||
asset_path: ./$(ls
|
gh release upload ${{ github.ref_name }} ./$(ls | grep .exe) \
|
||||||
|
--name TimeLogix-Windows.exe \
|
||||||
|
--label "Windows Executable"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue