Remove incorrect imports and clean up #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |