Skip to content

Commit

Permalink
New commit to get workflow to run
Browse files Browse the repository at this point in the history
  • Loading branch information
chase9 committed Apr 17, 2024
1 parent 1177eb0 commit c54e207
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Build and Release App

on:
push:
branches: [master, beta]
# workflow_dispatch:
# release:
# types: [published]
pull_request:

jobs:
build:
Expand Down Expand Up @@ -48,17 +45,18 @@ jobs:
- name: Compile ui, translations and resources
run: poetry run ./scripts/build_ui.sh
- name: Build Whl for release
run: poetry build -f=wheel -n
run: poetry build -f wheel -n
# Upload build artifacts for later use
- name: Upload yin-yang whl for flatpak build
uses: actions/upload-artifact@v4
with:
name: yin-yang-{{GITHUB_REF}}-py3-none-any.whl
path: dist/$(ls dist)
name: yin-yang-${{ github.ref }}-py3-none-any.whl
path: dist/*.whl

flatpak:
name: "Build flatpak file"
runs-on: ubuntu-22.04
needs: build
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-23.08
options: --privileged
Expand All @@ -71,7 +69,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: dist/
name: yin-yang-{{GITHUB_REF}}-py3-none-any.whl
name: yin-yang-${{ github.ref }}-py3-none-any.whl
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: yin-yang.flatpak
Expand Down

0 comments on commit c54e207

Please sign in to comment.