gui installer update (#83) #28
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: java editor build | |
on: | |
push | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 for x64 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'zulu' | |
architecture: x64 | |
- name: Build | |
run: | | |
./easy-compile-editor | |
- name: Archive Folder | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact | |
path: ${{github.workspace}}/editor/build/libs/*.jar | |
publish-release: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: artifact | |
path: ${{github.workspace}} | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ${{ github.workspace }}/*.jar | |
token: ${{ secrets.GITHUB_TOKEN }} |