diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index e6449433..67864c85 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -132,14 +132,14 @@ jobs: - name: Store artifacts if: ${{ always() }} - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f with: name: voc4cat-outbox_${{ env.RUN_DATE }}_run${{ GITHUB.RUN_ID }} path: outbox/ - name: Add/stage vocabulary changes # Pinning of action managed by dependabot - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 + uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 with: # glob pattern of files which should be added to the commit file_pattern: 'vocabularies/\*.ttl' @@ -151,7 +151,7 @@ jobs: - name: Commit vocabulary changes & xlsx cleanup on behalf of PR-author # Pinning of action managed by dependabot - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 + uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 with: commit_user_name: voc4cat-CI-bot commit_message: 'CI: vocabulary update in ${{ GITHUB.SERVER_URL }}/${{ GITHUB.REPOSITORY }}/actions/runs/${{ GITHUB.RUN_ID }}' diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 4c58acb7..aeaaa343 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -129,7 +129,7 @@ jobs: # This step is not required and may be removed. # It may be helpful for trouble shooting. if: ${{ always() }} - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f with: name: voc4cat-pages-dev-content path: publish/ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 217c39ec..48d153b9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -126,7 +126,7 @@ jobs: # This step is not required and may be removed. # It may be helpful for troubleshooting. if: ${{ always() }} - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f with: name: voc4cat-pages-release-${{ github.ref_name }} path: publish/ diff --git a/justfile b/justfile index 5696b122..5055c78d 100644 --- a/justfile +++ b/justfile @@ -53,7 +53,8 @@ check: _fake_actions_env [group('individual steps')] convert: _fake_actions_env # make a backup of the original file just in case - @cp inbox-excel-vocabs/voc4cat.xlsx inbox-excel-vocabs/voc4cat.xlsx.backup + @mkdir -p inbox-excel-vocabs/backup + @cp inbox-excel-vocabs/*.xlsx inbox-excel-vocabs/backup @voc4cat convert --config _main_branch/idranges.toml --logfile outbox/voc4cat.log --outdir outbox inbox-excel-vocabs/ @if [ -z "$(ls outbox/*.ttl 2>/dev/null)" ]; then \ @echo "No ttl file in outbox. Building joined vocabulary ttl-file from individual ttl-files in vocabulary.\n" && \