forked from Astangul/plugin-moret
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9988ded
commit 80fe2d2
Showing
4 changed files
with
62 additions
and
65 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Java CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
tags: [ 'v*.*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
java: [ 8 ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
java-package: jdk | ||
- run: | | ||
WD=$PWD | ||
cd .. | ||
git clone https://github.com/Funz/funz-profile | ||
cd $WD | ||
shell: bash | ||
- run: ant -noinput -buildfile build.xml test | ||
|
||
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 | ||
cd $WD | ||
- run: | | ||
ant clean dist | ||
cd dist; zip -r ../plugin-Moret.zip *; cd .. | ||
ant install | ||
zip -r Funz-Moret.zip Funz-Moret | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist | ||
- uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ./*-Moret.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
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
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