Merge branch 'main' of https://github.com/TheCloudTheory/arm-estimato… #74
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: Publish ACE packages | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
defaults: | |
run: | |
working-directory: ./ace | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore --configuration=Release | |
- name: Publish Windows | |
run: dotnet publish -p:PublishProfile=win-x64 | |
- name: Publish Linux | |
run: dotnet publish -p:PublishProfile=linux-x64 | |
- name: Publish macOS | |
run: dotnet publish -p:PublishProfile=osx-x64 | |
- name: Upload Windows artifact | |
uses: actions/[email protected] | |
with: | |
name: win-x64 | |
path: ${{ github.workspace }}/ace/bin/Release/net6.0/publish/win-x64 | |
- name: Upload Linux artifact | |
uses: actions/[email protected] | |
with: | |
name: linux-x64 | |
path: ${{ github.workspace }}/ace/bin/Release/net6.0/publish/linux-x64 | |
- name: Upload MacOS artifact | |
uses: actions/[email protected] | |
with: | |
name: osx-x64 | |
path: ${{ github.workspace }}/ace/bin/Release/net6.0/publish/osx-x64 | |