Skip to content

Add Events and Settings as Submodules #10

Add Events and Settings as Submodules

Add Events and Settings as Submodules #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- 'dev'
jobs:
build:
runs-on: ubuntu-latest
env:
CI: nightly-build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Build the project
run: ./gradlew build
- name: Create Release Assets
run: |
echo "Running shell script with version: ${{ github.event.inputs.version }}"
mkdir release
cp build/libs/*.jar release
for asset in release/*; do
md5sum $asset >> $asset.md5
sha1sum $asset >> $asset.sha1
sha256sum $asset >> $asset.sha256
sha512sum $asset >> $asset.sha512
done
ls -l release
- uses: marvinpinto/action-automatic-releases@latest
name: Create Release
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: 'nightly-build'
title: 'Nightly Build'
files: |
release/*