Skip to content

Commit faed727

Browse files
committed
Fixup
1 parent 8af3383 commit faed727

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build-flatpak.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ env:
3333
FLATPAK_BUILD_SHARE_PATH: builddir-${{ inputs.arch }}/files/share
3434
jobs:
3535
build:
36+
name: Flatpak 📦 (${{ inputs.arch }})
3637
runs-on: ${{ inputs.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
3738
container:
3839
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-24.08
@@ -82,13 +83,15 @@ jobs:
8283
run: |
8384
: Build
8485
flatpak-builder \
86+
--disable-rofiles-fuse \
87+
--install-deps-from=flathub \
8588
${{ inputs.publish-mode && '' || '--repo=repo ' }}\
8689
--default-branch=${{ inputs.flatpak-branch }} \
8790
--arch=${{ inputs.arch }} \
8891
--ccache \
8992
--mirror-screenshots-url=https://dl.flathub.org/media \
9093
${{ env.FLATPAK_BUILD_DIR }} \
91-
${{ github.workspace }}/build-aux/com.obsproject.Studio.json
94+
build-aux/com.obsproject.Studio.json
9295
9396
- name: Validate AppStream
9497
uses: ./.github/actions/flatpak-builder-lint
@@ -110,7 +113,7 @@ jobs:
110113
path: ${{ env.FLATPAK_BUILD_DIR }}
111114

112115
- name: Commit screenshots
113-
if: !inputs.publish-mode
116+
if: ${{ !inputs.publish-mode }}
114117
run: |
115118
: Commit screenshots
116119
ostree commit \
@@ -120,15 +123,15 @@ jobs:
120123
${{ env.FLATPAK_BUILD_SHARE_PATH }}/app-info/media
121124
122125
- name: Validate repository
123-
if: !inputs.publish-mode
126+
if: ${{ !inputs.publish-mode }}
124127
uses: ./.github/actions/flatpak-builder-lint
125128
with:
126129
artifact: repo
127130
path: repo
128131

129132
- name: Generate bundle
130133
id: bundle
131-
if: !inputs.publish-mode && inputs.upload-bundle
134+
if: ${{ !inputs.publish-mode && inputs.upload-bundle }}
132135
env:
133136
COMMIT: ${{ steps.checkout.outputs.commit }}
134137
run: |
@@ -146,14 +149,14 @@ jobs:
146149
repo ${file_name} com.obsproject.Studio
147150
148151
- name: Upload bundle
149-
if: steps.bundle.conclusion == 'success'
152+
if: ${{ steps.bundle.conclusion == 'success' }}
150153
uses: actions/upload-artifact@v4
151154
with:
152155
name: ${{ steps.bundle.outputs.name }}
153156
path: ${{ github.workspace }}/${{ steps.bundle.outputs.file-name }}
154157

155158
- uses: actions/cache/save@v4
156-
if: !inputs.publish-mode && inputs.save-cache && steps.restore-cache.outputs.cache-hit != 'true'
159+
if: ${{ !inputs.publish-mode && inputs.save-cache && steps.restore-cache.outputs.cache-hit != 'true' }}
157160
with:
158161
path: ${{ env.CACHE_PATH }}
159162
key: ${{ env.CACHE_KEY }}

0 commit comments

Comments
 (0)