Eula crash workaround #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-all: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
shell: bash | |
run: | | |
sudo apt update | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq --no-install-recommends build-essential debhelper dh-python dpkg-dev python3 python3-distutils-extra po-debconf pyflakes3 lsb-release gnu-efi | |
- name: Build Debian Packages | |
shell: bash | |
run: dpkg-buildpackage --no-sign | |
- name: Move Artifacts | |
shell: bash | |
run: | | |
mkdir ./dist | |
cp ../dell-recovery*.deb ./dist/ | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dell-recovery | |
path: ./dist | |
draft-release: | |
if: startsWith(github.ref, 'refs/tags/') | |
needs: build-all | |
name: Draft Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Download Artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: dell-recovery | |
- name: Draft Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: dell-recovery*.deb | |
draft: true | |
generate_release_notes: true | |
body_path: ./debian/changelog |