Skip to content

Merge branch 'master' of https://github.com/Funz/funz-client #81

Merge branch 'master' of https://github.com/Funz/funz-client

Merge branch 'master' of https://github.com/Funz/funz-client #81

Workflow file for this run

name: dist
on:
push:
branches: [ master ]
tags: [ 'v*.*' ]
pull_request:
branches: [ master ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-package: jdk
- run: |
WD=$PWD
cd ..
git clone https://github.com/Funz/funz-profile
git clone https://github.com/Funz/funz-core
cd funz-core
ant clean dist
cd ..
cd $WD
- run: |
ant clean dist
cd dist; zip -r ../funz-client.zip ./*; cd ..
- uses: actions/upload-artifact@v2
with:
path: dist
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/lib/funz-client*.jar
funz-*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}