Skip to content

Commit

Permalink
Update release-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa-aadlv authored Dec 4, 2024
1 parent a8af337 commit 6fa48a0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
steps:
- name: Checkout git repository 🕝
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ needs.release-artifacts-docker.outputs.tag_version }}

- name: Set up Python 3.10 🐍
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435
Expand All @@ -87,18 +89,17 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true

- name: Publish Release Notes 🗞
if: success()
env:
GITHUB_TAG: ${{ github.ref }}
GITHUB_TAG: ${{ needs.release-artifacts-docker.outputs.tag_version }}
GITHUB_REPO_SLUG: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: |
GITHUB_TAG=${GITHUB_TAG/refs\/tags\//}
sudo apt-get update
sudo apt-get -y install pandoc
pip install -U github3.py pep440_version_utils
python3 ${GITHUB_WORKSPACE}/scripts/publish_gh_release_notes.py
GITHUB_TAG=$GITHUB_TAG
pip install -U github3.py pep440-version-utils
python3 scripts/publish_gh_release_notes.py
release-artifact-slack-notifications:
name: Release Analytics Artifact Slack Notifications
Expand Down

0 comments on commit 6fa48a0

Please sign in to comment.