DynamicShop v3.120.1 #162
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: DynamicShop | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] #https://github.com/actions/checkout/releases | |
- run: sed "s/{BUILDID}/$GITHUB_RUN_NUMBER/g" pom.xml > _pom.xml; rm pom.xml; mv _pom.xml pom.xml | |
- name: Set up JDK 8 | |
uses: actions/[email protected] #https://github.com/actions/setup-java/releases | |
with: | |
distribution: 'temurin' | |
java-version: 8 | |
- name: Build with Maven | |
run: mvn clean install | |
- run: mkdir staging && cp target/*.jar staging | |
- uses: actions/[email protected] #https://github.com/actions/upload-artifact/releases | |
with: | |
name: Package | |
path: staging |