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