Skip to content

Commit

Permalink
update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Apr 28, 2024
1 parent 52b228d commit c881cc3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '19'
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v4
with:
path: ./build/libs/*
path: plugin/build/libs/*
if-no-files-found: error
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '19'
java-version: '21'
distribution: 'temurin'
- name: Publish with Gradle to Hangar
uses: gradle/[email protected]
Expand Down

0 comments on commit c881cc3

Please sign in to comment.