Skip to content

SVG objects not show in Preview Mode #278

SVG objects not show in Preview Mode

SVG objects not show in Preview Mode #278

Workflow file for this run

name: Build Program
on:
push:
workflow_dispatch:
inputs:
BuildBranch:
description: 'The branch you want to build.'
required: true
default: 'master'
BuildConfiguration:
description: 'The configuration for dotnet build.'
required: true
default: 'Release'
type: choice
options:
- Release
- Debug
env:
Configuration: ${{ github.event.inputs.BuildConfiguration || 'Release' }}
Branch: ${{ github.event.inputs.BuildBranch || github.ref_name }}
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ env.Branch }}
submodules: recursive
- name: Setup .NET5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: display current work dir
run: pwd
- name: show version.json
run: cat .\OngekiFumenEditor\version.json
- name: show version.json2
run: cat D:\a\OngekiFumenEditor\OngekiFumenEditor\OngekiFumenEditor\version.json
- name: get-version-action
id: project-version
uses: euberdeveloper/ga-project-version@main
with:
path: .\OngekiFumenEditor\version.json
- name: logging
run: echo "Version=${{ steps.project-version.outputs.version }}"
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: dotnet publish .\OngekiFumenEditor\OngekiFumenEditor.csproj --no-restore -c ${{env.Configuration}} -o ./bin/githubActions/
- uses: actions/upload-artifact@v3
with:
name: OngekiFumenEditor_${{steps.project-version.outputs.version}}_${{env.Configuration}}_${{env.Branch}}
path: D:\a\OngekiFumenEditor\OngekiFumenEditor\bin\githubActions