diff --git a/.github/workflows/profile_tag_trigger_publication.yml b/.github/workflows/profile_tag_trigger_publication.yml index c0826b4f..b2be9448 100644 --- a/.github/workflows/profile_tag_trigger_publication.yml +++ b/.github/workflows/profile_tag_trigger_publication.yml @@ -79,31 +79,41 @@ jobs: FULL_URL="$URL/core/package-list.json" curl --output webroot/fhir/core/package-list.json --url $FULL_URL - - name: Download package-feed.xml + name: Download package-feed.xml run: | curl --output webroot/fhir/package-feed.xml --url https://hl7.org.au/fhir/package-feed.xml + curl --output webroot/fhir/package-feed.bak.xml --url https://hl7.org.au/fhir/package-feed.xml - name: Download publication-feed.xml run: | curl --output webroot/fhir/publication-feed.xml --url https://hl7.org.au/fhir/publication-feed.xml + curl --output webroot/fhir/publication-feed.bak.xml --url https://hl7.org.au/fhir/publication-feed.xml - name: Generate Package Registry run: | java -jar input-cache/publisher.jar -generate-package-registry webroot - name: Run Aucore Go Publisher build - run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-core -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-core -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates - name: Run Aucore Go Publisher build run: | cp -r fhir-history/assets-hist/ ./webroot/fhir/core/assets-hist/ cp -r fhir-history/dist-hist/ ./webroot/fhir/core/dist-hist/ - - name: Upload Artifact to Github + - 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: publish-output - path: webroot/fhir/core + name: ig-output + path: ./output.zip - name: Upload Core Webroot to S3 run: aws s3 cp ./webroot/fhir/core s3://hl7au-fhir-ig/fhir/core --recursive --only-show-errors #core/${{ steps.get_tag.outputs.tag }} \ No newline at end of file