v1.28.0 #78
Workflow file for this run
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: Maven Package | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
server-id: github | |
- name: Install NodeJS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Install TypeScript Compiler | |
run: npm install -g [email protected] | |
- name: Compile Shesmu Server UI with TypeScript Compiler | |
run: tsc -p shesmu-server-ui | |
- name: Setup Repo credentials | |
uses: s4u/[email protected] | |
- name: Build Shesmu with Maven | |
run: mvn -B package --file pom.xml | |
- name: Build and push Docker images | |
uses: docker/[email protected] | |
with: | |
repository: oicrgsi/shesmu | |
tags: latest | |
tag_with_ref: true | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} |