Merge pull request #181 from nfdi4plants/training-templates #107
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 github | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
release-github: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: convert and publish 1.0.0 | |
run: dotnet fsi release/templates-to-json_v1.0.0.fsx | |
- name: convert and publish 2.0.0 | |
run: dotnet fsi release/templates-to-json_v2.0.0.fsx | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "Template Json" | |
files: | | |
templates-to-json/report.txt | |
templates-to-json/templates.json | |
templates-to-json/report_v2.0.0.txt | |
templates-to-json/templates_v2.0.0.json |