Skip to content

Support FileDBReader in Frontend #9

Support FileDBReader in Frontend

Support FileDBReader in Frontend #9

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Create Release
jobs:
deploy:
if: startsWith(github.ref, 'refs/tags/v')
name: Create Release
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish
run: dotnet publish -c Release -o Build
- name: Package
run: |
tar -caf FantasticFeedback.zip -C ./Build/ *
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
draft: true
prerelease: true
#- name: Download a Build Artifact
# uses: dawidd6/action-download-artifact@v2
# with:
# # Artifact name
# workflow: main.yml
# workflow_conclusion: success
- name: Upload iModYourAnno
id: upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./FantasticFeedback.zip
asset_name: FantasticFeedback.zip
asset_content_type: application/zip