Skip to content

Commit

Permalink
Deploy JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
OndrejSpanel committed Jul 15, 2022
1 parent 995448f commit 3ec6476
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy-jar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy JAR

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --add github.actor OndrejSpanel
git config --add github.token ${{ secrets.GITHUB_TOKEN }}
sbt projsJS/fullOptJS
mkdir public
cp js/target/scala-2.13/formulafx-opt.js public/.
cp js/target/scala-2.13/index.html public/.
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: jvm/target/scala-2.13/FormulaFx.jar
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 3ec6476

Please sign in to comment.