Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #19

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #19

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Run maven build
run: mvn clean package
- name: Upload XGlow
uses: actions/upload-artifact@v3
with:
name: XGlow
path: plugin/target/*.jar
- name: Upload XGlowExample
uses: actions/upload-artifact@v3
with:
name: XGlowExample
path: example/target/*.jar
release:
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/')
needs: [build]
steps:
- name: Download artifact (XGlow)
uses: actions/download-artifact@v4.1.7
with:
name: XGlow
path: plugin
- name: Download artifact (XGlowExample)
uses: actions/download-artifact@v4.1.7
with:
name: XGlowExample
path: example
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: |
plugin/*.jar
example/*.jar
draft: true