Skip to content

remove debug statements #21

remove debug statements

remove debug statements #21

Workflow file for this run

name: build
on:
release:
types:
- created
push:
branches:
- recode
jobs:
build_release:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew plugin:shadowJar
- uses: actions/upload-artifact@v4
with:
name: plugin-artifact
path: plugin/build/libs/plugin-all.jar
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release-${{ github.run_number }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/plugin/build/libs/plugin-all.jar
asset_name: plugin-portal.jar
asset_content_type: application/java-archive