diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 781ee89..8a7c468 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,12 +6,19 @@ jobs: build: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 17 + distribution: 'temurin' - name: Build with Maven - run: mvn -B package --file pom.xml \ No newline at end of file + run: mvn -B package --file pom.xml + - name: Copy artifacts + run: mkdir staging && cp target/BlockEdit-*.jar staging + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: BlockEdit + path: staging \ No newline at end of file