Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #33

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #33

Workflow file for this run

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/[email protected]
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