Enhancing ci builds
This commit is contained in:
parent
ba9e7aa793
commit
0f776a8b12
11
.github/workflows/packaging_test.yml
vendored
11
.github/workflows/packaging_test.yml
vendored
|
@ -22,17 +22,14 @@ jobs:
|
|||
DEBIAN_FRONTEND: "noninteractive"
|
||||
- name: Remove github artefacts
|
||||
run: |
|
||||
rm -rf .github/
|
||||
rm -rf .git*
|
||||
- name: Adjust distibution in changelog file
|
||||
run: |
|
||||
sed -i '0,/restricted/s//stable/' debian/changelog
|
||||
- name: Build Debian package
|
||||
uses: dawidd6/action-debian-package@v1
|
||||
# uses: pi-top/action-debian-package@v4
|
||||
with:
|
||||
# source_directory: "${SOURCE_DIR}"
|
||||
# artifacts_directory: "${ARTIFACTS_DIR}"
|
||||
artifacts_directory: debian/build/release/
|
||||
# target_architectures: "amd64,i386"
|
||||
# distribution: 'stable'
|
||||
# os: 'debian'
|
||||
- name: Debug
|
||||
run: |
|
||||
ls -la
|
||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -48,15 +48,19 @@ jobs:
|
|||
DEBIAN_FRONTEND: "noninteractive"
|
||||
- name: Remove github artefacts
|
||||
run: |
|
||||
rm -rf .github/
|
||||
rm -rf .git*
|
||||
- name: Adjust distibution in changelog file
|
||||
run: |
|
||||
sed -i '0,/restricted/s//stable/' debian/changelog
|
||||
- name: Build Debian package
|
||||
uses: pi-top/action-debian-package@v4
|
||||
uses: dawidd6/action-debian-package@v1
|
||||
with:
|
||||
artifacts_directory: debian/build/release/
|
||||
target_architectures: "amd64,i386"
|
||||
# - name: Build Debian package
|
||||
# uses: pi-top/action-debian-package@v0.2.0
|
||||
# with:
|
||||
# artifacts_directory: debian/build/release/
|
||||
# target_architectures: "amd64,i386"
|
||||
- name: Upload the artifacts
|
||||
uses: skx/github-action-publish-binaries@master
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue