Skip to content

Merge branch 'v12-beta' into development #156

Merge branch 'v12-beta' into development

Merge branch 'v12-beta' into development #156

name: Pre-Release Build
on:
push:
branches:
- development
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# create a zip file with all files required by the system to add to the release
- name: Zip Files
working-directory: ./
run: zip -r ./system.zip ./*
# Get the version from 'system.json'
- name: Get Version
shell: bash
id: get-version
run: echo "::set-output name=version::$(node ./.github/workflows/get-version.js)"
# Create a release for this specific version
- name: Create Release
id: create_version_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true # set this to false if you want to prevent updating existing releases
name: Pre-Release ${{ steps.get-version.outputs.version }}
draft: false
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './system.json,./system.zip'
tag: ${{ steps.get-version.outputs.version }}