Bump actions/upload-artifact from 2 to 4 #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
# Artifact name | |
name: TeamSpeakIP | |
# Directory containing files to upload | |
path: target/TeamSpeak.jar |