diff --git a/.github/workflows/gtrepo.yml b/.github/workflows/gtrepo.yml index 82431a4..384ffaa 100644 --- a/.github/workflows/gtrepo.yml +++ b/.github/workflows/gtrepo.yml @@ -52,7 +52,13 @@ jobs: id: lookupSdkVersion uses: mikefarah/yq@master with: - cmd: yq -o=json METADATA.yml > METADATA.json + cmd: | + yq -o=json METADATA.yml > METADATA.json + + + + + - name: PathTest run: | @@ -151,7 +157,9 @@ jobs: id: lookupSdkVersion uses: mikefarah/yq@master with: - cmd: yq -o=json METADATA.yml > METADATA.json + cmd: | + yq -o=json METADATA.yml > METADATA.json + - name: transform METADATA and make GT-Overview run: | @@ -209,6 +217,13 @@ jobs: output=README repoBase=${{ env.TAG_NAME }} repoName=$GITHUB_REPOSITORY \ -s:scripts/gt-overview_metadata.xsl -o:README.md shell: bash + + + - name: generate METADATA_htr_united.yml + run: | + java -jar saxon-he-12.3.jar -xsl:scripts/gt-metadata_htr_united.xsl repoName=${{ github.event.repository.name }} \ + -s:scripts/gt-metadata_htr_united.xsl + shell: bash - name: generate METS Volume File run: | @@ -337,6 +352,15 @@ jobs: git commit -m "[Automatic] Update readme files" || echo "Nothing to update" git push origin HEAD:main + + - name: Commit METADATA_htr_united.yml + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add ${{ github.event.repository.name }}_METADATA_htr_united.yml + git commit -m "[Automatic] Update METADATA_htr_united.yml files" || echo "Nothing to update" + git push origin HEAD:main + - name: Commit CITATION.cff run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" @@ -350,4 +374,4 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. - folder: ghout # The folder the action should deploy. \ No newline at end of file + folder: ghout # The folder the action should deploy.