Fixed autobuild

This commit is contained in:
Ryzerth 2021-01-29 17:42:02 +01:00
parent 898525a6d8
commit 22e47807b8

View File

@ -5,6 +5,7 @@ on: [push]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release BUILD_TYPE: Release
RUNNER_WORKSPACE: ${{runner.workspace}}
jobs: jobs:
build: build:
@ -45,12 +46,12 @@ jobs:
run: cmake --build . --config $BUILD_TYPE run: cmake --build . --config $BUILD_TYPE
- name: Create package - name: Create package
working-directory: ${{runner.workspace}} working-directory: ${{github.workspace}}
shell: bash shell: bash
run: sh make_debian_package.sh ./build run: sh -make_debian_package.sh $RUNNER_WORKSPACE/build
- name: Save built package - name: Save built package
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: debian-package name: debian-package
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb path: ${{github.workspace}}/sdrpp_debian_amd64.deb