mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
Update pull-requests_build-check.yml
This commit is contained in:
parent
47a7c5e27b
commit
69642d2db3
20
.github/workflows/pull-requests_build-check.yml
vendored
20
.github/workflows/pull-requests_build-check.yml
vendored
@ -79,6 +79,7 @@ jobs:
|
|||||||
cd appimage_temp
|
cd appimage_temp
|
||||||
wget https://github.com/TheAssassin/appimagelint/releases/download/continuous/appimagelint-x86_64.AppImage && chmod +x appimagelint-x86_64.AppImage && ./appimagelint-x86_64.AppImage ./sunshine/sunshine.AppImage
|
wget https://github.com/TheAssassin/appimagelint/releases/download/continuous/appimagelint-x86_64.AppImage && chmod +x appimagelint-x86_64.AppImage && ./appimagelint-x86_64.AppImage ./sunshine/sunshine.AppImage
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sunshine-AppImage
|
name: sunshine-AppImage
|
||||||
@ -97,21 +98,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup Docker
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
cd scripts
|
cd scripts
|
||||||
./build-container.sh -f Dockerfile-${{ matrix.distro }}
|
sudo ./build-container.sh -f Dockerfile-${{ matrix.distro }} -n sunshine-${{ matrix.distro }}
|
||||||
- name: Build and Package deb
|
|
||||||
run: |
|
ls
|
||||||
cd scripts
|
|
||||||
./build-sunshine.sh -p -s ..
|
|
||||||
|
|
||||||
cd sunshine-build
|
cd sunshine-build
|
||||||
mv sunshine.deb sunshine-${{ matrix.distro }}.deb
|
mv sunshine.deb sunshine-${{ matrix.distro }}.deb
|
||||||
mv sunshine-${{ matrix.distro }}.deb ../artifacts/
|
mv sunshine-${{ matrix.distro }}.deb ../artifacts/
|
||||||
|
# - name: Build and Package deb
|
||||||
|
# run: |
|
||||||
|
# cd scripts
|
||||||
|
# sudo ./build-sunshine.sh -p -n sunshine-${{ matrix.distro }} -s ..
|
||||||
|
#
|
||||||
|
# cd sunshine-build
|
||||||
|
# mv sunshine.deb sunshine-${{ matrix.distro }}.deb
|
||||||
|
# mv sunshine-${{ matrix.distro }}.deb ../artifacts/
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
if: ${{ 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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user