-
Notifications
You must be signed in to change notification settings - Fork 26
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 #1032 from Sage-Bionetworks/develop
Release 22.11.3
- Loading branch information
Showing
14 changed files
with
604 additions
and
290 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 |
---|---|---|
|
@@ -92,9 +92,29 @@ jobs: | |
# publish to pypi | ||
#---------------------------------------------- | ||
- name: Publish package to Pypi | ||
id: publish-to-pypi | ||
if: steps.check-tag.outputs.match == 'true' | ||
env: | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
PYPI_USERNAME: __token__ | ||
run: | | ||
poetry publish --build --username $PYPI_USERNAME --password $PYPI_TOKEN | ||
poetry publish --build --username $PYPI_USERNAME --password $PYPI_TOKEN | ||
#---------------------------------------------- | ||
# post a message to slack | ||
#---------------------------------------------- | ||
|
||
- name: Post to a Slack channel | ||
if: steps.publish-to-pypi.outcome == 'success' | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
# Slack channel id, channel name, or user id to post message. | ||
# See also: https://api.slack.com/methods/chat.postMessage#channels | ||
# You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs. | ||
# ibc-fair-data channel and data-curator-schematic channel | ||
channel-id: 'C01HSSMPQBG,C01ANC02U59' | ||
# For posting a simple plain text message | ||
slack-message: "Schematic has just been released. Check out new version: ${{ github.ref_name }}" | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
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
Oops, something went wrong.