From a8a050b1843289de12710f5587dc93fafbc2e500 Mon Sep 17 00:00:00 2001 From: Martin Scheidt Date: Wed, 6 Apr 2022 17:16:28 +0200 Subject: [PATCH] amended GitHub action release --- .github/workflows/release.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 018036c..81b91f3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -111,7 +111,7 @@ jobs: # 1. download artifact in folder artifact/ and move it one level up - uses: actions/download-artifact@v3 - run: | - mv ./artifact/tikz-trackschematic-*.zip ./ + mv ./artifact/tikz-trackschematic-${{needs.create_package.outputs.version}}.zip ./ # 2. install ctan-o-mat - name: "setup TeX Live (via paolobrasolin)" @@ -158,12 +158,14 @@ jobs: name: "updates CITATION.cff" runs-on: ubuntu-latest steps: - # 1. checkout the repo for zenodraft/action@0.10.0 to work + # 1. checkout the repo - name: "checkout" uses: actions/checkout@v2 + # 2. update CITATION.cff - run: ./build.sh --update-cite ${{needs.publish_zenodo.outputs.doi}} + # 3. push the change back to master - name: push uses: github-actions-x/commit@v2.8 with: @@ -172,4 +174,5 @@ jobs: force-add: 'true' files: CITATION.cff commit-message: 'updated DOI (via github action)' - rebase: 'true' # pull and rebase before commit + name: Martin Scheidt + email: m.scheidt@tu-bs.de