Skip to content

Merge pull request #439 from AAVSO/438-generate-more-vela-error-messages #54

Merge pull request #439 from AAVSO/438-generate-more-vela-error-messages

Merge pull request #439 from AAVSO/438-generate-more-vela-error-messages #54

Workflow file for this run

# This workflow will build a Java project with Ant and create a daily
# release of the bash and win targets.
#
# For more information see:
# - https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
# - https://github.com/AAVSO/VStar/issues/340
name: Snapshot release
#on:
# schedule:
# # every day at 0845 GMT
# - cron: '45 08 * * *'
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Snapshot release
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: '8'
- name: Create plugin dir
run:
mkdir -p ~/vstar_plugins
- name: Create plugin libs dir
run:
mkdir -p ~/vstar_plugin_libs
- name: Build bash archive
run:
ant -noinput -buildfile build.xml bash
- name: Build win archive
run:
ant -noinput -buildfile build.xml win
- name: Build plugins archive
run: |
cd plugin
ant -noinput -buildfile build.xml aavso
cd ..
- uses: pyTooling/Actions/releaser@r0
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: snapshot
rm: true
files: |
vstar-bash.zip
vstar-win.zip
plugin/vstar-plugins.zip