mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-30 12:32:43 +00:00
Skip packaging/release for Fedora build
This commit is contained in:
parent
b1030b6601
commit
41a30b5826
4
.github/workflows/create_package.yml
vendored
4
.github/workflows/create_package.yml
vendored
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user