Skip to content

Small change I forgot to commit earlier #2

Small change I forgot to commit earlier

Small change I forgot to commit earlier #2

Workflow file for this run

name: Build & Pre-Release
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
permissions: write-all
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.1.0
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: '17'
distribution: 'corretto'
- name: Change wrapper permissions
run: powershell -command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process"
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: Built Jar
path: build/libs/*.jar
- name: Automatic Release
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "RavenWeave - Pre-Release ${{ env.sha_short }}"
files: |
build/libs/*.jar