Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
applenick authored Apr 4, 2021
1 parent d0373dc commit 4a89028
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build
# Controls when the action will run.
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: setup
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: cache
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: build
run: mvn install
- name: artifact
uses: actions/upload-artifact@v1
with:
name: Bolty.jar
path: target/PGM.jar

0 comments on commit 4a89028

Please sign in to comment.