Update v1.0.1 #13
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: dotnet package | |
permissions: write-all | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dotnet: [ '6.x' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Install dependencies | |
run: | | |
dotnet add package Serilog.Sinks.Console | |
dotnet add package System.CommandLine | |
dotnet add package System.Security.Cryptography.ProtectedData | |
dotnet add package ini-parser | |
- name: Display dotnet version | |
run: dotnet --version | |
- name: Dotnet publish | |
run: dotnet publish -c Release | |
- name: Upload release asset | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
bin\Release\publish\MobaXtermDecryptor.exe |