Skip to content

change to alpha

change to alpha #6

Workflow file for this run

name: Release Canary
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
- name: Release Canary
uses: ncipollo/[email protected]
with:
name: "Canary"
prerelease: true
tag: "canary"
allowUpdates: true
artifacts: "build/libs/*.jar"
- name: Upload to CurseForge
uses: itsmeow/[email protected]
with:
file_path: "build/libs/randomloot-1.0.0.jar"
game_endpoint: "minecraft"
game_versions: "Minecraft 1.20:1.20-.1,Java 17,Forge"
token: "${{ secrets.CurseForge }}"
project_id: "910093"
display_name: "canary"
release_type: "alpha"