mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
Update pull-requests_build-check.yml
-Fix command that moves deb package -Separate setup, build, and package steps
This commit is contained in:
parent
ca8917dd1b
commit
65b9b653d0
25
.github/workflows/pull-requests_build-check.yml
vendored
25
.github/workflows/pull-requests_build-check.yml
vendored
@ -98,29 +98,20 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build
|
||||
- name: Setup Container deb
|
||||
run: |
|
||||
mkdir -p artifacts
|
||||
|
||||
cd scripts
|
||||
sudo ./build-container.sh -c build -f Dockerfile-${{ matrix.distro }} -n sunshine-${{ matrix.distro }}
|
||||
- name: Build deb
|
||||
run: |
|
||||
cd scripts
|
||||
sudo ./build-sunshine.sh -p -u -n sunshine-${{ matrix.distro }} -s ..
|
||||
|
||||
ls
|
||||
echo "...."
|
||||
ls ..
|
||||
|
||||
cd sunshine-${{ matrix.distro }}-build
|
||||
mv sunshine.deb sunshine-${{ matrix.distro }}.deb
|
||||
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: Package deb
|
||||
run: |
|
||||
cd scripts
|
||||
mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.deb ../artifacts/
|
||||
- name: Upload Artifacts
|
||||
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
|
||||
uses: actions/upload-artifact@v2
|
||||
|
Loading…
Reference in New Issue
Block a user