diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2af1fe..367fdef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout Source Code id: checkout-source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: eric2788/maven-jar-publish@v3 with: java-version: 18 @@ -36,7 +36,7 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions-ecosystem/action-get-latest-tag@v1 id: latest-tag - uses: jungwinter/split@v2 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml new file mode 100644 index 0000000..61fd85d --- /dev/null +++ b/.github/workflows/develop.yml @@ -0,0 +1,24 @@ +name: build artifacts +on: + push: + branches: + - develop +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Source Code + id: checkout-source + uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: 'Package Jar' + run: mvn -B package --file ./pom.xml + - name: 'upload artifacts' + id: upload-artifacts + uses: actions/upload-artifact@v4 + with: + name: groovier-plugin + path: './groovier-plugin/target' \ No newline at end of file