Skip to content

Commit

Permalink
Update actions in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlocks committed Apr 17, 2024
1 parent 5b083d0 commit 9d4067d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
runs-on: ubuntu-22.04

container:
image: ubuntu:18.04
image: ubuntu:22.04
options: --privileged
env:
LD_LIBRARY_PATH: /__w/vial-gui/vial-gui/util/python36/prefix/lib/
env:
PYTHON_VERSION: 3.12.2

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{env.PYTHON_VERSION}}
cache: pip

- name: Install dependencies
Expand Down Expand Up @@ -45,22 +45,21 @@ jobs:
./linuxdeploy-x86_64.AppImage --appdir dist/Vial --output appimage
mv Vial-*-x86_64.AppImage Vial-x86_64.AppImage
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vial-linux
path: Vial-x86_64.AppImage

build-mac:
runs-on: macos-11
env:
PYTHON_VERSION: 3.6.8
MACOSX_DEPLOYMENT_TARGET: 10.9

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{env.PYTHON_VERSION}}
cache: pip

- name: Setup venv
Expand All @@ -75,7 +74,7 @@ jobs:
pyinstaller misc/Vial.spec
hdiutil create -volname Vial -srcfolder "target/Vial.app" -ov -format UDZO vial-mac.dmg
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vial-mac
path: vial-mac.dmg
Expand All @@ -84,10 +83,10 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{env.PYTHON_VERSION}}

- name: Setup venv
run: |
Expand All @@ -107,7 +106,7 @@ jobs:
pyinstaller misc/Vial.spec
Compress-Archive -Path "dist/Vial" -DestinationPath vial-win.zip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vial-win
path: vial-win.zip
Expand All @@ -118,7 +117,7 @@ jobs:
cd dist/Vial
makensis ../../src/installer/windows/Installer.nsi
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vial-win-installer
path: target\VialSetup.exe
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Visit https://get.vial.today/ to download a binary release of Vial.

#### Development

Python 3.6 is recommended (3.6 is the latest version that is officially supported by `fbs`).
Python 3.12 is recommended.

Install dependencies:

Expand All @@ -33,5 +33,6 @@ To launch the application afterwards:

```
source venv/bin/activate
fbs run
pyinstaller misc/Vial.spec
./dist/Vial/Vial
```

0 comments on commit 9d4067d

Please sign in to comment.