Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chadj2 committed Feb 26, 2024
1 parent 07679b3 commit 946057d
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,28 @@ on:
release:
types: [published]

jobs:

jobs:
build:
name: Create Distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/build.yml

github-release:
name: >-
Upload them to GitHub Release
name: Upload them to GitHub Release
# only publish to PyPI on tag pushes
#if: startsWith(github.ref, 'refs/tags/')
# needs:
# - build
needs: build
runs-on: ubuntu-latest

permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore

steps:
- uses: .github/workflows/build.yml
- uses: actions/checkout@v4

- uses: ./.github/workflows/build.yml

- name: Download all the dists
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 946057d

Please sign in to comment.