diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad9c8ea..a99556b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,4 +9,7 @@ jobs: tests: uses: ./.github/workflows/tests.yml with: - python-version: '3.10' \ No newline at end of file + python-version: '3.10' + + release: + uses: ./.github/workflows/release.yml \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index deb0f5b..07bef9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,16 +1,14 @@ name: Prod Release on: - push: - branches: - - main - + workflow_call: + jobs: release: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Prepare repository run: git fetch --unshallow --tags