Update .forgejo/workflows/build.yml
This commit is contained in:
parent
8d48ff43a9
commit
5671b9bf06
1 changed files with 7 additions and 4 deletions
|
@ -29,11 +29,14 @@ jobs:
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
- name: Install runtimes
|
- name: Install org.freedesktop.Sdk
|
||||||
run: flatpak -y --user install flathub org.freedesktop.Sdk//24.08
|
run: flatpak -y --user install flathub org.freedesktop.Sdk//24.08
|
||||||
- name: Generate DEB
|
- name: Install org.freedesktop.Platform
|
||||||
run: |
|
run: flatpak -y --user install flathub org.freedesktop.Runtime//24.08
|
||||||
python generate-flatpak.py
|
- name: Generate file for use in flatpak
|
||||||
|
run: python generate-flatpak.py
|
||||||
|
- name: Build flatpak package
|
||||||
|
run: flatpak-builder flatpak codes.swee.SweeCryptGTK.json
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: flatpak/
|
path: flatpak/
|
Loading…
Reference in a new issue