Skip to content

Commit

Permalink
Testing packaging back into its own job.
Browse files Browse the repository at this point in the history
  • Loading branch information
PTaladay committed Apr 1, 2024
1 parent b29fa14 commit 5d33dee
Showing 1 changed file with 34 additions and 42 deletions.
76 changes: 34 additions & 42 deletions .github/workflows/fhir-oss-ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ jobs:
fileVersion: ${{needs.setup.outputs.fileVersion}}
informationalVersion: ${{needs.setup.outputs.informationalVersion}}
majorMinorPatch: ${{needs.setup.outputs.majorMinorPatch}}
- name: Package Web Build Artifacts
uses: ./.github/actions/package-web-build-artifacts
with:
fhirschemaversion: ${{ matrix.fhirSchemaVersion }}
majorMinorPatch: ${{needs.setup.outputs.majorMinorPatch}}
outputPath: ${{env.outputPath}}
buildConfiguration: ${{env.buildConfiguration}}
semVer: ${{needs.setup.outputs.semVer}}
# - name: Test
# uses: ./.github/actions/dotnet-test
# with:
Expand All @@ -121,40 +113,40 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: ${{env.outputPath}}
# packageBuildArtifacts:
# runs-on: ubuntu-latest
# needs: [setup, buildAndUnitTest]
# strategy:
# matrix:
# fhirSchemaVersion: ["Stu3", "R4", "R4B", "R5"]
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Install Latest .Net SDK
# uses: actions/setup-dotnet@v4
# with:
# global-json-file: 'global.json'
# dotnet-version: |
# 6.x
# 8.x
# - name: Nuget Restore
# working-directory: ${{github.workspace}}
# shell: bash
# run: dotnet restore --verbosity detailed
# - name: Download Build Artifacts from Job Cache
# uses: actions/download-artifact@v4
# with:
# path: artifacts
# - name: Package Web Build Artifacts
# uses: ./.github/actions/package-web-build-artifacts
# with:
# fhirschemaversion: ${{ matrix.fhirSchemaVersion }}
# majorMinorPatch: ${{needs.setup.outputs.majorMinorPatch}}
# outputPath: ${{env.outputPath}}
# buildConfiguration: ${{env.buildConfiguration}}
# semVer: ${{needs.setup.outputs.semVer}}
packageBuildArtifacts:
runs-on: ubuntu-latest
needs: [setup, buildAndUnitTest]
strategy:
matrix:
fhirSchemaVersion: ["Stu3", "R4", "R4B", "R5"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Latest .Net SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: 'global.json'
dotnet-version: |
6.x
8.x
- name: Nuget Restore
working-directory: ${{github.workspace}}
shell: bash
run: dotnet restore --verbosity detailed
- name: Download Build Artifacts from Job Cache
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Package Web Build Artifacts
uses: ./.github/actions/package-web-build-artifacts
with:
fhirschemaversion: ${{ matrix.fhirSchemaVersion }}
majorMinorPatch: ${{needs.setup.outputs.majorMinorPatch}}
outputPath: ${{env.outputPath}}
buildConfiguration: ${{env.buildConfiguration}}
semVer: ${{needs.setup.outputs.semVer}}
# - name: Docker Build
# uses: ./.github/actions/docker-build
# with:
Expand Down

0 comments on commit 5d33dee

Please sign in to comment.