Skip to content

Commit fcb794a

Browse files
committed
travis -> GHA & v1.12
1 parent ce1016e commit fcb794a

File tree

4 files changed

+62
-65
lines changed

4 files changed

+62
-65
lines changed

.github/workflows/ant.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags: [ 'v*.*' ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
test:
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest, macOS-latest]
15+
java: [ 8 ]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-java@v1
20+
with:
21+
java-version: ${{ matrix.java }}
22+
java-package: jdk
23+
- run: |
24+
WD=$PWD
25+
cd ..
26+
git clone https://github.com/Funz/funz-profile
27+
cd $WD
28+
shell: bash
29+
- run: ant -noinput -buildfile build.xml test
30+
31+
release:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v2
35+
- uses: actions/setup-java@v1
36+
with:
37+
java-version: 1.8
38+
java-package: jdk
39+
- run: |
40+
WD=$PWD
41+
cd ..
42+
git clone https://github.com/Funz/funz-profile
43+
cd $WD
44+
- run: |
45+
ant clean dist
46+
cd dist; zip -r ../plugin-Excel.zip *; cd ..
47+
ant install
48+
zip -r Funz-Excel.zip Funz-Excel
49+
- uses: actions/upload-artifact@v2
50+
with:
51+
path: dist
52+
- uses: softprops/action-gh-release@v1
53+
if: startsWith(github.ref, 'refs/tags/')
54+
with:
55+
files: ./*-Excel.zip
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
59+
60+

.travis.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/Funz/plugin-Excel.png)](https://travis-ci.org/Funz/plugin-Excel)
1+
[![.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)
22

33
# Funz plugin: Excel
44

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<property name="code.name" value="Excel" />
44
<property name="install.dir" value="${basedir}/Funz-${code.name}" />
55

6-
<property name="funz.release" value="v1.11" />
6+
<property name="funz.release" value="v1.12" />
77

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

0 commit comments

Comments
 (0)