Skip to content

Commit

Permalink
ci: update upload-artifact and download-artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
titivermeesch committed Sep 19, 2024
1 parent e404acc commit 27ee684
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
distribution: 'adopt'
java-version: '8'
- run: gradle :shadowJar -b java8-build.gradle
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: build/libs/commandtimer-java8.jar
- name: Publish package
Expand All @@ -59,7 +59,7 @@ jobs:
distribution: 'adopt'
java-version: '17'
- run: gradle :shadowJar -b java17-build.gradle
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: build/libs/commandtimer-java17.jar
- name: Publish package
Expand All @@ -79,7 +79,7 @@ jobs:
distribution: 'adopt'
java-version: '21'
- run: gradle :shadowJar
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: build/libs/commandtimer-java21.jar
- name: Publish package
Expand All @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: echo "PLUGIN_VERSION=$(./scripts/get-version.sh)" >> $GITHUB_ENV
- run: gh release create ${{ env.PLUGIN_VERSION }} -t ${{ env.PLUGIN_VERSION }} artifact/*.jar
env:
Expand Down

0 comments on commit 27ee684

Please sign in to comment.