fix the worker file

This commit is contained in:
mohammed jasem alaajel 2022-07-15 10:13:08 +04:00
parent 673b966dda
commit 5f07ba6b66
1 changed files with 6 additions and 5 deletions

View File

@ -5,9 +5,9 @@ name: RedisBungee Build
on: on:
push: push:
branches: [ master ] branches: [ develop ]
pull_request: pull_request:
branches: [ master ] branches: [ develop ]
jobs: jobs:
build: build:
@ -19,7 +19,7 @@ jobs:
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
@ -27,6 +27,7 @@ jobs:
uses: actions/upload-artifact@v2.2.3 uses: actions/upload-artifact@v2.2.3
with: with:
# Artifact name # Artifact name
name: Redis_JAR name: RedisBungee-Bungee
# Destination path # Destination path
path: target/RedisBungee* path: RedisBungee-Bungee/target/*