Skip to content

Commit

Permalink
chore: poetry add python-semantic-release (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato authored Aug 27, 2023
1 parent f1c10e8 commit 2a6da49
Show file tree
Hide file tree
Showing 4 changed files with 575 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/poetry-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.3.2
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true

Expand All @@ -45,7 +45,7 @@ jobs:
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install

- name: Run
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/python-semantic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: python-semantic-release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: poetry
Loading

0 comments on commit 2a6da49

Please sign in to comment.