Skip to content

.github/workflows/release.yml #11

.github/workflows/release.yml

.github/workflows/release.yml #11

Workflow file for this run

on: workflow_dispatch
jobs:
build-package:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get Version
id: get_version
uses: battila7/get-version-action@v2
- name: Build package
run: |
curl -fsSL https://github.com/megastep/makeself/releases/download/release-2.4.3/makeself-2.4.3.run -o makeself.run
bash makeself.run --target makeself
mkdir tmp
cp -r install.sh bin gradle lib ./tmp
./makeself/makeself.sh --notemp --needroot ./tmp gng-installer.sh "GNG ${{ steps.get_version.outputs.version }}" ./install.sh
- name: Release
uses: softprops/action-gh-release@v2
with:
files: gng-installer.sh