Skip packaging/release for Fedora build

This commit is contained in:
ReenigneArcher 2022-01-11 01:13:57 -05:00
parent b1030b6601
commit 41a30b5826

View File

@ -117,16 +117,18 @@ jobs:
cd scripts cd scripts
sudo ./build-sunshine.sh -p -u -n sunshine-${{ matrix.distro }} -s .. sudo ./build-sunshine.sh -p -u -n sunshine-${{ matrix.distro }} -s ..
- name: Package Linux - name: Package Linux
if: ${{ matrix.distro != 'fedora_33' && matrix.distro != 'fedore_35' }}
run: | run: |
cd scripts cd scripts
sudo mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.deb ../artifacts/ sudo mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.deb ../artifacts/
- name: Upload 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 uses: actions/upload-artifact@v2
with: with:
name: sunshine-${{ matrix.distro }} name: sunshine-${{ matrix.distro }}
path: artifacts/ path: artifacts/
- name: Create Release - 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 uses: SunshineStream/actions/create_release@v0
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}