Skip to content

Commit a2aab69

Browse files
committed
fix: ref name [skip ci]
1 parent fc141f5 commit a2aab69

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/prepare.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ jobs:
6363
- name: Checkout repository
6464
uses: actions/checkout@v6
6565
with:
66-
ref: ${{ inputs.ref || github.ref }}
66+
# ref: ${{ inputs.ref || github.ref }}
67+
ref: main
6768
token: ${{ secrets.GITHUB_TOKEN }}
6869
fetch-depth: 0
6970

@@ -87,7 +88,8 @@ jobs:
8788
id: version
8889
run: |
8990
COMMIT_HASH=$(git rev-parse --short HEAD)
90-
GIT_BRANCH=${GITHUB_REF_NAME}
91+
# GIT_BRANCH=${GITHUB_REF_NAME}
92+
GIT_BRANCH=main
9193
BUILD_TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
9294
9395
# Check if semantic-release published a new version

0 commit comments

Comments
 (0)