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