From 8ae9f697f5c6c2ef857133aa9c37755bcf7d5521 Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Thu, 15 Dec 2022 10:06:16 +0100 Subject: [PATCH] ci: bump cache version --- .github/workflows/main_test_and_release.yml | 40 ++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main_test_and_release.yml b/.github/workflows/main_test_and_release.yml index d1c3627e..a683345b 100644 --- a/.github/workflows/main_test_and_release.yml +++ b/.github/workflows/main_test_and_release.yml @@ -9,10 +9,10 @@ on: pull_request: push: branches: - - main + - main env: - cache-version: 0.0.5 + cache-version: 0.0.6 poetry-version: 1.1.15 python-version: 3.9 # Change this number if you want to manually invalidate all caches @@ -26,7 +26,7 @@ jobs: # This allows a subsequently queued workflow run to interrupt previous runs concurrency: - group: '${{ github.workflow }} - ${{ matrix.os }} @ ${{ github.ref }}' + group: "${{ github.workflow }} - ${{ matrix.os }} @ ${{ github.ref }}" cancel-in-progress: true steps: @@ -46,21 +46,21 @@ jobs: needs: test if: ${{ github.ref == 'refs/heads/main' }} steps: - # Checkout action is required for token to persist - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_BOT }} + # Checkout action is required for token to persist + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + token: ${{ secrets.RELEASE_BOT }} - - name: Python Semantic Release - uses: relekang/python-semantic-release@v7.32.0 - with: - github_token: ${{ secrets.RELEASE_BOT }} - # Remember to copy the tool.semantic_release section from pyproject.toml - # as well - # To enable pypi, - # 1) Set upload_to_pypi to true in pyproject.toml and - # 2) Set the pypi_token in the repo - # 3) Uncomment the two lines below - repository_username: __token__ - repository_password: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + - name: Python Semantic Release + uses: relekang/python-semantic-release@v7.32.0 + with: + github_token: ${{ secrets.RELEASE_BOT }} + # Remember to copy the tool.semantic_release section from pyproject.toml + # as well + # To enable pypi, + # 1) Set upload_to_pypi to true in pyproject.toml and + # 2) Set the pypi_token in the repo + # 3) Uncomment the two lines below + repository_username: __token__ + repository_password: ${{ secrets.PYPI_TOKEN }}