Skip to content

Commit

Permalink
Fix how release job uses ci job (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin authored Feb 14, 2024
1 parent 5e81218 commit 4f1a79b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:
workflow_dispatch:

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f1a79b

Please sign in to comment.