Fixes multi-session bug preventing users from having simultaneous AWS… #20
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: .NET Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build & Publish | |
run: dotnet publish src/Ellosoft.AwsCredentialsManager/Ellosoft.AwsCredentialsManager.csproj -c Release -p:Version=${{ github.ref_name }} -r win-x64 -o win-output | |
- name: Zip Output | |
uses: thedoctor0/zip-release@0.7.6 | |
with: | |
type: "zip" | |
directory: win-output/ | |
path: aws-cred-mgr.exe | |
filename: aws-cred-mgr-${{ github.ref_name }}-win-x64.zip | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
generate_release_notes: true | |
prerelease: ${{ contains(github.ref_name, 'beta') }} | |
files: win-output/aws-cred-mgr-${{ github.ref_name }}-win-x64.zip |