Skip to content

Commit

Permalink
ci(release): checkout codebase based on ref (#178)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Yu <31861128+yqlbu@users.noreply.github.com>
  • Loading branch information
piyoki authored Jul 21, 2023
1 parent 3e06cf8 commit 2347b93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
ref: ${{ inputs.tag }}

- name: Download wing vendor
run: |
Expand All @@ -40,6 +41,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.tag }}

- uses: pnpm/action-setup@v2
with:
Expand Down Expand Up @@ -126,6 +129,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.tag }}
fetch-depth: 0

- name: Get the version
Expand Down

0 comments on commit 2347b93

Please sign in to comment.