Skip to content

delete automation and bump cache to v3.2.158 #6

delete automation and bump cache to v3.2.158

delete automation and bump cache to v3.2.158 #6

Workflow file for this run

name: Bump Tags on Master
on:
push:
branches:
- master
jobs:
bump-tags:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update v1 and v1.0.1 tags
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git tag -fa v1 -m "Update v1 tag to latest commit on master"
git tag -fa v1.0.1 -m "Update v1.0.1 tag to latest commit on master"
git push origin v1 v1.0.1 --force
- name: Send Slack notification on success
uses: slackapi/slack-github-action@v1
with:
payload: |
{
"text": "Updated setup-ocaml v1 and v1.0.1 tags to the latest commit on master"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.CACHE_SLACK_WEBHOOK_URL }}