Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

update versioning.yml #366

Merged
merged 4 commits into from
Jul 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Tag latest

name: Bump version
on:
push:
branches:
- main
- master
harjotgill marked this conversation as resolved.
Show resolved Hide resolved

jobs:
actions-tagger:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-22.04
permissions:
harjotgill marked this conversation as resolved.
Show resolved Hide resolved
contents: write
harjotgill marked this conversation as resolved.
Show resolved Hide resolved
steps:
- name: Run latest-tag
uses: EndBug/latest-tag@latest
- uses: actions/checkout@v3
with:
fetch-depth: '0'
harjotgill marked this conversation as resolved.
Show resolved Hide resolved

- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.64.0 # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
WITH_V: false
harjotgill marked this conversation as resolved.
Show resolved Hide resolved