Pediatric conversion tables #11
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
# Zip up algorithms and add to the release | |
name: upload-algorithms | |
on: | |
repository_dispatch: | |
types: manual-publish | |
release: | |
types: [ created ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Create algorithm zips | |
if: ${{startsWith(github.ref, 'refs/tags/v') }} | |
run: | | |
chmod +x gradlew | |
./gradlew zipAlgorithms | |
- name: Add algorithms to release | |
uses: softprops/action-gh-release@v1 | |
if: ${{startsWith(github.ref, 'refs/tags/v') }} | |
with: | |
files: | | |
algorithm-cs/build/algorithms/*.zip | |
algorithm-eod/build/algorithms/*.zip | |
algorithm-tnm/build/algorithms/*.zip | |
algorithm-pediatric/build/algorithms/*.zip |