Skip to content

Commit

Permalink
Rm checkout, add --repo flag to create draft release
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Nov 10, 2022
1 parent 0f755db commit 70e469b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_publish_pypi_and_draft_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ jobs:
needs: build_publish_and_release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Initialize git
run: |
git config user.name "GitHub Actions"
git config user.email noreply@github.com
- name: Create draft release
run: gh release create ${{ env.RELEASE_NAME }} --title "${{ env.RELEASE_NAME }}" --target release/${{ env.RELEASE_NAME }} --draft
run: gh release create ${{ env.RELEASE_NAME }} --repo appoptics/solarwinds-apm-python --title "${{ env.RELEASE_NAME }}" --target release/${{ env.RELEASE_NAME }} --draft
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 70e469b

Please sign in to comment.