Updating build pipelines
This commit is contained in:
parent
29710eb01d
commit
c1b122a000
6
.github/workflows/packaging_test.yml
vendored
6
.github/workflows/packaging_test.yml
vendored
|
@ -17,9 +17,12 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
|
- name: Remove github artefacts
|
||||||
|
run: |
|
||||||
|
rm -rf .github*
|
||||||
- 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
|
||||||
|
@ -27,6 +30,7 @@ jobs:
|
||||||
uses: dawidd6/action-debian-package@v1.4.0
|
uses: dawidd6/action-debian-package@v1.4.0
|
||||||
with:
|
with:
|
||||||
artifacts_directory: debian/build/release/
|
artifacts_directory: debian/build/release/
|
||||||
|
os_distribution: testing
|
||||||
- name: Debug
|
- name: Debug
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
ls -la
|
||||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
release-id: ${{ steps.create_release.outputs.id }}
|
release-id: ${{ steps.create_release.outputs.id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Install needed packages
|
- name: Install needed packages
|
||||||
run: |
|
run: |
|
||||||
if [ $(dpkg -l | grep -c dpkg-dev) -ne 1 ]; then sudo apt-get update && sudo apt-get install -y dpkg-dev; fi
|
if [ $(dpkg -l | grep -c dpkg-dev) -ne 1 ]; then sudo apt-get update && sudo apt-get install -y dpkg-dev; fi
|
||||||
|
@ -43,9 +43,12 @@ jobs:
|
||||||
needs: create-release
|
needs: create-release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
|
- name: Remove github artefacts
|
||||||
|
run: |
|
||||||
|
rm -rf .github*
|
||||||
- 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
|
||||||
|
@ -53,13 +56,14 @@ jobs:
|
||||||
uses: dawidd6/action-debian-package@v1.4.0
|
uses: dawidd6/action-debian-package@v1.4.0
|
||||||
with:
|
with:
|
||||||
artifacts_directory: debian/build/release/
|
artifacts_directory: debian/build/release/
|
||||||
|
os_distribution: testing
|
||||||
# - name: Build Debian package
|
# - name: Build Debian package
|
||||||
# uses: pi-top/action-debian-package@v0.2.0
|
# uses: pi-top/action-debian-package@v0.2.0
|
||||||
# with:
|
# with:
|
||||||
# artifacts_directory: debian/build/release/
|
# artifacts_directory: debian/build/release/
|
||||||
# target_architectures: "amd64,i386"
|
# target_architectures: "amd64,i386"
|
||||||
- name: Upload the artifacts
|
- name: Upload the artifacts
|
||||||
uses: skx/github-action-publish-binaries@release-0.15
|
uses: skx/github-action-publish-binaries@release-2.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue