Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
mbovo committed Sep 10, 2021
1 parent 0846bd3 commit 07bf4da
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tag_and_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags: ["*"]
jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -15,7 +15,7 @@ jobs:
tagging:
name: "Tagging"
needs: pre-commit
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
next_tag: ${{ steps.tag_version.outputs.new_version }}
steps:
Expand All @@ -28,12 +28,16 @@ jobs:
- run: |
echo Calculated Next Tag is ${{ steps.tag_version.outputs.new_tag }}
post_slack:
runs-on: self-hosted
needs: tagging
steps:
- name: Post to a Slack channel
if: ${{ success() }}
id: slack_success
uses: slackapi/[email protected]
with:
channel-id: 'sdcadmin-operator'
slack-message: ':cool-doge: `${{github.GITHUB_REPOSITORY}}` new version: ${{needs.tagging.outputs.next_tag}}'
slack-message: ':cool-doge: `${{github.repository}}` new version: ${{needs.tagging.outputs.next_tag}}'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 07bf4da

Please sign in to comment.