Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update actions to v4 and java 21 #9

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup java 18
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '18'
cache: 'maven'

- name: build
run: mvn clean package

- name: Extract Maven project version
run: echo "name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
id: project

- name: List files
run: ls -la

- name: Upload Plugin jar
uses: actions/upload-artifact@v3
with:
name: "AnimVanish"
path: target/*.jar
- name: Checkout
uses: actions/checkout@v4.2.2

- name: Setup java 21
uses: actions/setup-java@v4.7.0
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: build
run: mvn clean package

- name: Extract Maven project version
run: echo "name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
id: project

- name: List files
run: ls -la

- name: Upload Plugin jar
uses: actions/upload-artifact@v4.6.0
with:
name: "AnimVanish"
path: target/*.jar