瀏覽代碼

CI: Fix updated workflows using outdated Flatpak actions

PatTheMav 2 年之前
父節點
當前提交
c1347439eb
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/build-project.yaml
  2. 3 3
      .github/workflows/publish.yaml

+ 1 - 1
.github/workflows/build-project.yaml

@@ -285,7 +285,7 @@ jobs:
           fi
 
       - name: Build Flatpak Manifest 🧾
-        uses: flatpak/flatpak-github-actions/flatpak-builder@v5
+        uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
         with:
           build-bundle: ${{ fromJSON(needs.check-event.outputs.package) }}
           bundle: obs-studio-flatpak-${{ needs.check-event.outputs.commitHash }}.flatpak

+ 3 - 3
.github/workflows/publish.yaml

@@ -91,7 +91,7 @@ jobs:
           echo "commitHash=$(git rev-parse --short=9 HEAD)" >> $GITHUB_OUTPUT
 
       - name: Build Flatpak Manifest
-        uses: flatpak/flatpak-github-actions/flatpak-builder@v5
+        uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
         with:
           bundle: obs-studio-${{ steps.setup.outputs.commitHash }}.flatpak
           manifest-path: ${{ github.workspace }}/build-aux/com.obsproject.Studio.json
@@ -119,7 +119,7 @@ jobs:
           ostree commit --repo=repo --canonical-permissions --branch=screenshots/x86_64 flatpak_app/screenshots
 
       - name: Publish to Flathub Beta
-        uses: flatpak/flatpak-github-actions/flat-manager@v5
+        uses: flatpak/flatpak-github-actions/flat-manager@v6.1
         if: ${{ matrix.branch == 'beta' }}
         with:
           flat-manager-url: https://hub.flathub.org/
@@ -127,7 +127,7 @@ jobs:
           token: ${{ secrets.FLATHUB_BETA_TOKEN }}
 
       - name: Publish to Flathub
-        uses: flatpak/flatpak-github-actions/flat-manager@v5
+        uses: flatpak/flatpak-github-actions/flat-manager@v6.1
         if: ${{ matrix.branch == 'stable' }}
         with:
           flat-manager-url: https://hub.flathub.org/