Split generic linux and deb package creation

This commit is contained in:
lepapareil 2022-10-04 14:42:39 +02:00
parent b424b1b0bd
commit ecbab75b5d
No known key found for this signature in database
GPG Key ID: F4F06B068FB00692

View File

@ -21,13 +21,35 @@ jobs:
run: | run: |
bin/release/man.sh bin/release/man.sh
bin/release/release.sh bin/release/release.sh
bin/release/create_tarball.sh linux - name: Create generic linux package
- name: Create deb run: bin/release/create_tarball.sh linux
- name: Archive production artifacts (tarball)
uses: actions/upload-artifact@v3
with:
name: release-generic-linux-x64-artifacts
path: target/upload/*
release-deb-x64:
runs-on: ubuntu-18.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install
run: |
bin/install_prerequisites_ubuntu.sh
bin/install_rust_latest.sh
- name: set Version
run: bin/release/version.sh
- name: Build
run: |
bin/release/man.sh
bin/release/release.sh
- name: Create deb package
run: bin/release/deb.sh run: bin/release/deb.sh
- name: Archive production artifacts (tarball) - name: Archive production artifacts (tarball)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: release-linux-x64-artifacts name: release-deb-x64-artifacts
path: target/upload/* path: target/upload/*
release-macos-x64: release-macos-x64:
@ -36,8 +58,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install Rust - name: Install Rust
run: | run: bin/install_rust_latest.sh
bin/install_rust_latest.sh
- name: set Version - name: set Version
run: bin/release/version.sh run: bin/release/version.sh
- name: Build - name: Build
@ -74,8 +95,7 @@ jobs:
override: true override: true
profile: minimal profile: minimal
- name: Environment - name: Environment
run: | run: .\bin\environment.ps1
.\bin\environment.ps1
- name: Install prerequisites - name: Install prerequisites
run: .\bin\install_prerequisites_windows.ps1 run: .\bin\install_prerequisites_windows.ps1
- name: Build and test integ - name: Build and test integ