Skip to content

Commit d9f300f

Browse files
authored
fix(javascript): fix hps release (#3577)
## Why? ## What does this PR do? ## Related issues ## AI Contribution Checklist - [ ] Substantial AI assistance was used in this PR: `yes` / `no` - [ ] If `yes`, I included a completed [AI Contribution Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs) in this PR description and the required `AI Usage Disclosure`. - [ ] If `yes`, my PR description includes the required `ai_review` summary and screenshot evidence of the final clean AI review results from both fresh reviewers on the current PR diff or current HEAD after the latest code changes. ## Does this PR introduce any user-facing change? - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark
1 parent 6735b37 commit d9f300f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release-compiler.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
python -m build --sdist --wheel
5656
5757
- name: Publish to TestPyPI
58-
uses: pypa/gh-action-pypi-publish@release/v1
58+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.14.0
5959
if: ${{ contains(github.ref_name, '-') }}
6060
with:
6161
repository-url: https://test.pypi.org/legacy/
@@ -65,7 +65,7 @@ jobs:
6565
packages-dir: compiler/dist
6666

6767
- name: Publish to PyPI
68-
uses: pypa/gh-action-pypi-publish@release/v1
68+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.14.0
6969
if: ${{ !contains(github.ref_name, '-') }}
7070
with:
7171
skip-existing: true

.github/workflows/release-python.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
echo "head_branch: ${{ github.event.workflow_run.head_branch }}"
5353
5454
- name: Publish to TestPyPI
55-
uses: pypa/gh-action-pypi-publish@release/v1
55+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.14.0
5656
if: startsWith(github.event.workflow_run.head_branch, 'v') && contains(github.event.workflow_run.head_branch, '-')
5757
with:
5858
repository-url: https://test.pypi.org/legacy/
@@ -62,7 +62,7 @@ jobs:
6262
packages-dir: dist
6363

6464
- name: Publish to PyPI
65-
uses: pypa/gh-action-pypi-publish@release/v1
65+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.14.0
6666
if: startsWith(github.event.workflow_run.head_branch, 'v') && !contains(github.event.workflow_run.head_branch, '-')
6767
with:
6868
skip-existing: true

javascript/packages/hps/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"prepublishOnly": "npm run build"
1717
},
1818
"license": "Apache-2.0",
19+
"repository": "git@github.com:apache/fory.git",
1920
"dependencies": {
2021
"bindings": "~1.2.1",
2122
"fs-extra": "^11.3.0",

0 commit comments

Comments
 (0)