Skip to content

Commit

Permalink
Merge pull request #5 from gmmcal/fix-release
Browse files Browse the repository at this point in the history
FIX: Release should use git sha reference on checkout
  • Loading branch information
gmmcal authored Sep 14, 2024
2 parents 9c4ec9e + 10ab3b1 commit a485968
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Release
on:
workflow_call:
inputs:
reference:
type: string
required: false
default: main
tag:
type: string
required: true
Expand All @@ -16,6 +20,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.reference }}

- name: Create release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit a485968

Please sign in to comment.