From 41a30b58269ec7b53cc578396e817cc32118f938 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Tue, 11 Jan 2022 01:13:57 -0500 Subject: [PATCH] Skip packaging/release for Fedora build --- .github/workflows/create_package.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_package.yml b/.github/workflows/create_package.yml index 9e73b9c7..1a98d11b 100644 --- a/.github/workflows/create_package.yml +++ b/.github/workflows/create_package.yml @@ -117,16 +117,18 @@ jobs: cd scripts sudo ./build-sunshine.sh -p -u -n sunshine-${{ matrix.distro }} -s .. - name: Package Linux + if: ${{ matrix.distro != 'fedora_33' && matrix.distro != 'fedore_35' }} run: | cd scripts sudo mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.deb ../artifacts/ - name: Upload Artifacts - if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }} + if: ${{ ( matrix.distro != 'fedora_33' && matrix.distro != 'fedore_35' ) && ( github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' ) }} uses: actions/upload-artifact@v2 with: name: sunshine-${{ matrix.distro }} path: artifacts/ - name: Create Release + if: ${{ ( matrix.distro != 'fedora_33' && matrix.distro != 'fedore_35' ) && ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) }} uses: SunshineStream/actions/create_release@v0 with: token: ${{ secrets.GITHUB_TOKEN }}