Skip to content

Fix caching a local repo on Windows (#48) #38

Fix caching a local repo on Windows (#48)

Fix caching a local repo on Windows (#48) #38

Workflow file for this run

name: Bump version
on:
push:
branches:
- main
jobs:
bump-version:
name: Bump Version
runs-on: ${{ vars.RUNNER_UBUNTU && fromJSON(vars.RUNNER_UBUNTU) || 'ubuntu-latest' }}
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Checkout github-tag-action
uses: actions/checkout@v4
with:
repository: ${{ vars.GENERATE_TAG_REPO || 'anz-bank/github-tag-action' }}
ref: ${{ vars.GENERATE_TAG_REF || '1.40.0' }}
path: ./.github/action${{ vars.GENERATE_TAG_PATH || '/github-tag-action/' }}
token: ${{ vars.GENERATE_TAG_SECRET && secrets[vars.GENERATE_TAG_SECRET] || secrets.GITHUB_TOKEN }}
- name: Bump version and push tag
uses: ./.github/action/github-tag-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true