SKA-324: Fix incorrect topic name if variable is reconfigured without… #43
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: Build the SIL Kit FMU Importer (.NET 6) [public profile] | |
# Define the triggers for this workflow | |
on: | |
push: | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
# Check out this Git repo | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Build & Publish | |
run: dotnet build ./FmuImporter/BuildAll/Build.csproj -v:m | |
# Get environment variable for docker image URI and provide it to next build step | |
prep-linux: | |
runs-on: [Ubuntu-20.04] | |
outputs: | |
image: ${{ steps.set_image.outputs.image }} | |
environment: build-action | |
steps: | |
- id: set_image | |
env: | |
DOCKER_IMAGE_URI: ${{ vars.DOCKER_IMAGE_URI }} | |
run: echo "image=${{vars.DOCKER_IMAGE_URI}}" >> "$GITHUB_OUTPUT" | |
# Build the project, then remove the built artifacts | |
build-linux: | |
runs-on: [Ubuntu-20.04] | |
needs: prep-linux | |
container: | |
image: ${{ needs.prep-linux.outputs.image }} | |
steps: | |
- run: ls -l | |
- run: pwd | |
- run: "echo ImageURI=${{needs.prep-linux.outputs.image}}" | |
# Check out this Git repo | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Build & Publish | |
run: dotnet build ./FmuImporter/BuildAll/Build.csproj -v:m |