Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JancoNel authored Apr 15, 2024
1 parent 31bba84 commit 8dcfd04
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ on:
jobs:
update-tag:
runs-on: ubuntu-latest
inputs:
tag-name:
description: 'Name of the tag to be updated'
required: true
env:
TAG_NAME: release
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create tag
id: create_tag
run: |
git tag -f ${{ inputs.tag-name }} main
git push -f origin ${{ inputs.tag-name }}
git tag -f $TAG_NAME main
git push -f origin $TAG_NAME

0 comments on commit 8dcfd04

Please sign in to comment.