Skip to content

Commit

Permalink
Create beta_test_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Synthitic committed Jun 24, 2024
1 parent 83d3e8e commit 92025e6
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/beta_test_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Beta Test Release

on:
push:
branches:
- 0.1.0
jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write # needed to create GitHub releases

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Declare some variables
id: vars
shell: bash
run: |
echo "::set-output name=sha_short::$(git rev-parse --short $GITHUB_SHA)"
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Build Project
uses: gradle/gradle-build-action@v2
with:
arguments: 'build --build-cache --daemon' # use the daemon here so the rest of the process is faster
generate-job-summary: false
gradle-home-cache-includes: |
caches
jdks
notifications
wrapper
- name: Publish to GitHub
uses: softprops/action-gh-release@v1
with:
files: "build/libs/*.jar"
fail_on_unmatched_files: true
prerelease: true
tag_name: "0.1.0-beta-testing"
name: "Beta Release Testing ${{ steps.vars.outputs.sha_short }}"
body: "Testing Pre-release for the GCYL Beta Release"

0 comments on commit 92025e6

Please sign in to comment.