diff --git a/.github/workflows/cffvalidating.yml b/.github/workflows/cffvalidating.yml index d8f7e99..c082c35 100644 --- a/.github/workflows/cffvalidating.yml +++ b/.github/workflows/cffvalidating.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out a copy of the repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate a CITATION.cff from a subdirectory uses: citation-file-format/cffconvert-github-action@2.0.0 diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index c5dfb2a..579c26d 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -18,7 +18,7 @@ jobs: steps: # checkout the repo - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 # create package and release notes - name: "create tikz-trackschematic package" @@ -55,7 +55,7 @@ jobs: steps: - name: "checkout" # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + uses: actions/checkout@v3 # download artifact in folder artifact/ - uses: actions/download-artifact@v3 @@ -108,7 +108,7 @@ jobs: ## opening a debug console - name: Setup upterm session env: - # ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }} + ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }} ZENODO_SANDBOX_ACCESS_TOKEN: ${{ secrets.ZENODO_SANDBOX_ACCESS_TOKEN }} uses: lhotari/action-upterm@v1 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd22068..3b2ec92 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: # 2. checkout the repo - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 # 3. install TeX Live - name: "install ghostscript" @@ -160,22 +160,19 @@ jobs: steps: # 1. checkout the repo - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 # 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: - github-token: ${{ secrets.GITHUB_TOKEN }} - push-branch: 'master' - force-add: 'true' - files: CITATION.cff - commit-message: 'DOI updated to ${{needs.create_package.outputs.version}} (via github action)' - name: Martin Scheidt - email: m.scheidt@tu-bs.de + run: | + git config user.name railtoolkit + git config user.email railtoolkit@ownx.net + git add CITATION.cff + git commit -m "DOI updated to ${{needs.create_package.outputs.version}} (via github action)" + git push publish_twitter: needs: [create_package, publish_zenodo] diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 17becbd..c67e64e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -24,7 +24,7 @@ jobs: steps: - name: "checkout" # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: "install ghostscript" run: sudo apt-get install -y ghostscript diff --git a/.github/workflows/zenodo.yaml b/.github/workflows/zenodo.yaml index f31e131..10408ed 100644 --- a/.github/workflows/zenodo.yaml +++ b/.github/workflows/zenodo.yaml @@ -22,7 +22,7 @@ jobs: # checkout the repo - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 # create package and release notes - name: "create tikz-trackschematic package" @@ -51,7 +51,7 @@ jobs: # steps: # # checkout the repo # - name: "checkout" - # uses: actions/checkout@v2 + # uses: actions/checkout@v3 # # download artifact in folder artifact/ # - uses: actions/download-artifact@v3 @@ -110,7 +110,7 @@ jobs: steps: # 1. checkout the repo for zenodraft/action@0.10.0 to work - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 - run: ./build.sh --update-cite ${{needs.publish_zenodo.outputs.doi}}