From 1a033e7393da80cfec5bf4a6830277770f539cff Mon Sep 17 00:00:00 2001 From: Brett Esler Date: Fri, 2 Aug 2024 13:16:25 +1000 Subject: [PATCH] manual zip go-publish does not update the page banner in full-ig.zip so we need to zip our own copy; also saves the top level files needed for package feeds --- .../workflows/profile_tag_trigger_publication.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/profile_tag_trigger_publication.yml b/.github/workflows/profile_tag_trigger_publication.yml index 2f71df2f..bc26e22e 100644 --- a/.github/workflows/profile_tag_trigger_publication.yml +++ b/.github/workflows/profile_tag_trigger_publication.yml @@ -94,13 +94,21 @@ jobs: java -jar input-cache/publisher.jar -generate-package-registry webroot - name: Run Aubase Go Publisher build - run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-base -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates -tx https://txreg.azurewebsites.net/txdev - + run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-base -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates + + - name: Zip Release + uses: TheDoctor0/zip-release@0.7.6 + with: + type: 'zip' + filename: 'output.zip' + path: './webroot/fhir' + exclusions: 'full-ig.zip' + - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: ig-output - path: ./webroot/fhir/base/*/full-ig.zip + path: ./output.zip - name: Upload Base webroot to S3 run: aws s3 cp ./webroot/fhir/base s3://hl7au-fhir-ig/fhir/ --recursive --only-show-errors #/${{ steps.get_tag.outputs.tag }}