Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
ci: bump cache version
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Dec 15, 2022
1 parent b12a36a commit 8ae9f69
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/main_test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand All @@ -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 }}
- 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 }}

0 comments on commit 8ae9f69

Please sign in to comment.