Skip to content

Commit

Permalink
Try to package stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed Jul 27, 2024
1 parent d6d3dbc commit 5386509
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build-linux:
if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
runs-on: ubuntu-20.04
name: '🐧 Ubuntu 20.04'

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
path: ${{github.workspace}}/build/BandageNG*.AppImage

build-mac:
if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
runs-on: macos-latest
name: '🍎 macOS'
steps:
Expand Down Expand Up @@ -139,6 +139,20 @@ jobs:
- name: '🚧 Build'
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j8

- name: '📦 Make package'
working-directory: ${{github.workspace}}/build
run: |
mkdir BandageNG
cp Release/BandageNG.exe BandageNG/
windeployqt BandageNG --release --compiler-runtime
7z a BandageNG-win-${{steps.commit.outputs.short}}.zip BandageNG -r
- name: '📤 Upload artifact: ZIP'
uses: actions/upload-artifact@v3
with:
name: BandageNG-win-${{steps.commit.outputs.short}}.zip
path: ${{github.workspace}}/build/BandageNG*.zip

# Upload continuous build
upload:
if: ${{ false }} # disable for now
Expand All @@ -162,3 +176,4 @@ jobs:
chmod +x pyuploadtool-x86_64.AppImage
./pyuploadtool-x86_64.AppImage **/BandageNG-Linux-*.AppImage
./pyuploadtool-x86_64.AppImage **/BandageNG-macOS-*.dmg
./pyuploadtool-x86_64.AppImage **/BandageNG-win-*.zip

0 comments on commit 5386509

Please sign in to comment.