Skip to content

Merge remote-tracking branch 'upstream/master' #28

Merge remote-tracking branch 'upstream/master'

Merge remote-tracking branch 'upstream/master' #28

Workflow file for this run

name: ProxyPass Build
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@v1
with:
submodules: true
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package
- name: Rename artifacts
run: mv target/proxypass-*.jar target/proxypass-pn.jar
- name: Archive artifacts
uses: actions/upload-artifact@v1
if: success()
with:
name: PowerNukkit-ProxyPass
path: target/proxypass-pn.jar