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.

25 lines
818 B

name: Run Release Script on push to MASTER
on: push
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Run Apt-get update
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get -y install quilt qemu-user-static debootstrap bsdtar
- 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
uses: meeDamian/github-release@v1.0.0
if: startsWith(github.ref, 'refs/tags/')
with:
gzip: false
files: "*.zip"
token: ${{ secrets.GITHUB_TOKEN }}