From 65b9b653d057b19d5eab6c5a48419e3fa82df702 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 18 Dec 2021 16:51:49 -0500 Subject: [PATCH] Update pull-requests_build-check.yml -Fix command that moves deb package -Separate setup, build, and package steps --- .../workflows/pull-requests_build-check.yml | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pull-requests_build-check.yml b/.github/workflows/pull-requests_build-check.yml index 7a586a10..159e2655 100644 --- a/.github/workflows/pull-requests_build-check.yml +++ b/.github/workflows/pull-requests_build-check.yml @@ -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