Nesting arc gis layers on receive #139
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 Build | |
on: | |
pull_request: # Run build on every pull request that is not to main/dev | |
branches-ignore: | |
- main | |
- dev | |
workflow_call: | |
outputs: | |
version: | |
value: ${{ jobs.build.outputs.version }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.set-version.outputs.version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.2xx # Align with global.json (including roll forward rules) | |
- name: ⚒️ Run GitVersion | |
run: ./build.sh build-server-version | |
- name: ⚒️ Run build | |
run: ./build.sh | |
- name: ⬆️ Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: output-${{ env.GitVersion_FullSemVer }} | |
path: output/*.* | |
compression-level: 0 # no compression | |
- id: set-version | |
name: Set version to output | |
run: echo "version=${{ env.GitVersion_FullSemVer }}" >> "$GITHUB_OUTPUT" |