-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #393 from richardsheridan/test_suite_cleanup
Test suite cleanup
- Loading branch information
Showing
6 changed files
with
54 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -342,7 +342,6 @@ jobs: | |
url: https://pypi.org/p/trio-parallel | ||
permissions: | ||
id-token: write | ||
# contents: write # TODO: Is this the right permission to fix gh release upload? | ||
steps: | ||
- name: Download build artifact | ||
uses: actions/[email protected] | ||
|
@@ -351,9 +350,23 @@ jobs: | |
path: dist | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
# TODO: what permission do I need to get this to work? | ||
# - name: Upload to GitHub | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# gh release upload ${{ github.ref_name }} dist/* --repo ${{ github.repository }} | ||
|
||
Update: | ||
name: Update GitHub Release | ||
if: github.event_name == 'release' | ||
needs: All | ||
timeout-minutes: 1 | ||
runs-on: ubuntu-latest | ||
# permissions: | ||
# contents: write #TODO this should be default but maybe must be set | ||
steps: | ||
- name: Download build artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Build | ||
path: dist | ||
- name: Upload to GitHub | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release upload ${{ github.ref_name }} dist/* --repo ${{ github.repository }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters