Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

GitHub CI Fix #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/build-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,21 @@ name: Build

on:
push:
branches: [ main ]
branches: [ '*' ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Build with Maven
run: mvn -B package --file pom.xml
- uses: actions/upload-artifact@v2
with:
path: /home/runner/work/CityWorld/CityWorld/target/

path: target/*.jar