Enhancing github CI
This commit is contained in:
parent
91bee33068
commit
b3e9c5884b
7
.github/workflows/packaging_test.yml
vendored
7
.github/workflows/packaging_test.yml
vendored
|
@ -22,11 +22,14 @@ jobs:
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
- name: Remove github artefacts
|
- name: Remove github artefacts
|
||||||
run: |
|
run: |
|
||||||
rm -rf .github/
|
rm -rf .git*
|
||||||
- name: Adjust distibution in changelog file
|
- name: Adjust distibution in changelog file
|
||||||
run: |
|
run: |
|
||||||
sed -i '0,/restricted/s//stable/' debian/changelog
|
sed -i '0,/restricted/s//stable/' debian/changelog
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
uses: pi-top/action-debian-package@v4
|
uses: dawidd6/action-debian-package@v1
|
||||||
with:
|
with:
|
||||||
artifacts_directory: debian/build/release/
|
artifacts_directory: debian/build/release/
|
||||||
|
- 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"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
- name: Remove github artefacts
|
- name: Remove github artefacts
|
||||||
run: |
|
run: |
|
||||||
rm -rf .github/
|
rm -rf .git*
|
||||||
- name: Adjust distibution in changelog file
|
- name: Adjust distibution in changelog file
|
||||||
run: |
|
run: |
|
||||||
sed -i '0,/restricted/s//stable/' debian/changelog
|
sed -i '0,/restricted/s//stable/' debian/changelog
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
uses: pi-top/action-debian-package@v4
|
uses: dawidd6/action-debian-package@v1
|
||||||
with:
|
with:
|
||||||
artifacts_directory: debian/build/release/
|
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
|
- name: Upload the artifacts
|
||||||
uses: skx/github-action-publish-binaries@master
|
uses: skx/github-action-publish-binaries@master
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue