Fix section annotator, remove strict req on : being present #95
Workflow file for this run
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
name: Release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 13 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 13 | |
- name: Build with Maven | |
run: mvn clean package --file pom.xml -s settings.xml -P build-executable | |
env: | |
SECRET_ACTOR: ${{ secrets.SECRET_ACTOR }} | |
SECRET_TOKEN: ${{ secrets.SECRET_TOKEN }} | |
- name: Build with Ant | |
run: ant dist -noinput -buildfile build.xml | |
- name: Create a Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
# The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag | |
tag_name: ${{ github.ref }} | |
# The name of the release. For example, `Release v1.0.1` | |
release_name: Release ${{ github.ref }} | |
# Text describing the contents of the tag. | |
body: Draft Release Autonomously Generated By CI | |
# `true` to create a draft (unpublished) release, `false` to create a published one. Default: `false` | |
draft: false # optional | |
# `true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false` | |
prerelease: false # optional | |
- name: Upload Main Release Asset | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./MedTagger.zip | |
asset_name: MedTagger.zip | |
asset_content_type: application/zip | |
- name: Upload Backbone Release Asset | |
id: upload-backbone-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./MedTaggerForBackbone.zip | |
asset_name: MedTaggerForBackbone.zip | |
asset_content_type: application/zip | |