You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
818 B

name: Run Release Script on push to MASTER
on: push
5 years ago
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Run Apt-get update
run: sudo apt-get update
5 years ago
- name: Install Dependencies
5 years ago
run: sudo apt-get -y install quilt qemu-user-static debootstrap bsdtar
5 years ago
- name: Run Build script
run: sudo ./build.sh
- name: Copy ZIP to current working dir
run: cp deploy/*.zip ./
- name: Debug current working dir
run: ls -la
- name: Release Image to placeholder or release
5 years ago
uses: meeDamian/github-release@v1.0.0
if: startsWith(github.ref, 'refs/tags/')
5 years ago
with:
gzip: false
5 years ago
files: "*.zip"
5 years ago
token: ${{ secrets.GITHUB_TOKEN }}