Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Sep 19, 2024
1 parent 2a8caf1 commit 9c15484
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
Expand All @@ -20,12 +20,12 @@ jobs:
- name: Publish
run: ./gradlew publish -Pmvn.user=${{ secrets.MAVEN_USER }} -Pmvn.key=${{ secrets.MAVEN_TOKEN }}

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Artifacts
path: ./build/libs/

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: CLI Artifacts
path: ./cli/build/libs/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -24,12 +24,12 @@ jobs:
- name: Publish
run: ./gradlew publish -Pversion_snapshot -Pmvn.user=${{ secrets.MAVEN_USER }} -Pmvn.key=${{ secrets.MAVEN_TOKEN }}

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Unimined Snapshot Artifacts
path: ./build/libs/

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: CLI Snapshot Artifacts
path: ./cli/build/libs/

0 comments on commit 9c15484

Please sign in to comment.