Merge pull request #65 from 1024pix/renovate/bin-metabase-metabase-0.x #92
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
name: Bump version | |
on: | |
push: | |
paths: | |
- "bin/version" | |
workflow_dispatch: | |
jobs: | |
build: | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.sha }} | |
fetch-depth: '0' | |
- name: Set variables | |
run: | | |
METABASE_VERSION=$(head bin/version) | |
echo "VERSION=v$METABASE_VERSION" >> $GITHUB_ENV | |
- name: Bump version and push tag | |
uses: anothrNick/github-tag-action@1.67.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CUSTOM_TAG: ${{ env.VERSION }} |