Skip to content

Commit 0edf590

Browse files
authored
GitHub Actions fix (#138)
* Made workflows use caching and artifact upload v4 instead of v3 * Changed artifact names to support matrix builds
1 parent 86e99c8 commit 0edf590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
with:
2020
distribution: 'temurin'
2121
java-version: ${{ matrix.java }}
22-
- uses: actions/cache@v3
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.m2/repository
2525
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2626
restore-keys: |
2727
${{ runner.os }}-maven-
2828
- run: java -version && mvn --version
2929
- run: mvn --activate-profiles dist --no-transfer-progress package
30-
- uses: actions/upload-artifact@v3
30+
- uses: actions/upload-artifact@v4
3131
with:
32-
name: BungeeCord
32+
name: BungeeCord-Java-${{ matrix.java }}
3333
path: bootstrap/target/BungeeCord.jar

0 commit comments

Comments
 (0)