From 4f1a79bb64bfc3ac93cb16d7964d5ce81f7841d9 Mon Sep 17 00:00:00 2001 From: Kevin Phoenix Date: Tue, 13 Feb 2024 20:25:23 -0700 Subject: [PATCH] Fix how release job uses ci job (#102) --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc377bf..37ec8fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,7 @@ on: branches: [ main ] pull_request: branches: [ main ] + workflow_call: workflow_dispatch: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5fcdf6..e6ed7d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,16 +4,16 @@ on: tags: "v*" jobs: - + ci: + uses: ./.github/workflows/ci.yml publish: name: Publish release + needs: ci runs-on: ubuntu-22.04 permissions: contents: write id-token: write steps: - - name: Run CI - uses: ./.github/workflows/ci.yml - name: Download artifacts uses: actions/download-artifact@v4 - name: Make wheel dir