Skip to content

Commit

Permalink
ci: update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Samarium150 committed May 30, 2022
1 parent 7e37dc2 commit be3fb92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

# Setup JDK
- name: Setup Java JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: 11
Expand All @@ -39,13 +39,13 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew buildPlugin
run: ./gradlew buildPlugin && ./gradlew buildPluginLegacy

# Create Release
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: ./build/mirai/${{ github.event.repository.name }}-${{ steps.vars.outputs.tag }}.mirai.jar
artifacts: "build/mirai/*.jar"
artifactContentType: application/jar
tag: ${{ steps.vars.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit be3fb92

Please sign in to comment.