From bf4bddc9530f1980f07e6c38195c177aa68a8452 Mon Sep 17 00:00:00 2001 From: Carl Leitner Date: Fri, 27 Sep 2024 12:44:45 +0300 Subject: [PATCH 1/2] Fix dependency for smart-base --- sushi-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sushi-config.yaml b/sushi-config.yaml index 73bb8795..b4b8cdda 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -257,7 +257,7 @@ menu: # # setId: always # always | standalone-only dependencies: - who.fhir.smart-base: dev + smart.who.int.base: dev hl7.fhir.uv.sdc: 3.0.0 hl7.fhir.uv.cpg: current # hl7.fhir.us.cqfmeasures: current From 54b4267d580fdbd9f2130da378fa0fd0ecdf356e Mon Sep 17 00:00:00 2001 From: Jose Costa Teixeira Date: Fri, 29 Nov 2024 13:04:04 +0000 Subject: [PATCH 2/2] Create release.yml --- .github/workflows/release.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..b2a8a6ef --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,35 @@ +# This workflow calls a remote workflow for setting up a release publication, +# This workflow is triggered by the creation of a GitHub release and requires a file called publication-request.json in the branch. + +name: Release build + +on: + release: + types: [created] + workflow_dispatch: + +jobs: + check: + runs-on: ubuntu-latest + outputs: + file_exists: ${{ steps.checkfile.outputs.exists }} + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + ref: ${{ github.event.release.tag_name }} + + - name: Check for publication-request.json + id: checkfile + run: | + if [[ -f "publication-request.json" ]]; then + echo "::set-output name=exists::true" + else + echo "::set-output name=exists::false" + fi + + trigger: + needs: check + if: needs.check.outputs.file_exists == 'true' + uses: WorldHealthOrganization/smart-html/.github/workflows/release.yml@main +