Skip to content

Commit

Permalink
travis -> GHA & v1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet committed Mar 17, 2021
1 parent ce1016e commit fcb794a
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 65 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/ant.yml
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-Excel.zip *; cd ..
ant install
zip -r Funz-Excel.zip Funz-Excel
- uses: actions/upload-artifact@v2
with:
path: dist
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./*-Excel.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}



63 changes: 0 additions & 63 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/Funz/plugin-Excel.png)](https://travis-ci.org/Funz/plugin-Excel)
[![.github/workflows/ant.yml](https://github.com/Funz/plugin-Excel/actions/workflows/ant.yml/badge.svg)](https://github.com/Funz/plugin-Excel/actions/workflows/ant.yml)

# Funz plugin: Excel

Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<property name="code.name" value="Excel" />
<property name="install.dir" value="${basedir}/Funz-${code.name}" />

<property name="funz.release" value="v1.11" />
<property name="funz.release" value="v1.12" />

<property name="build_plugin.xml" location="../funz-profile/build_plugin.xml" />
<import file="${build_plugin.xml}"/>
Expand Down

0 comments on commit fcb794a

Please sign in to comment.