Skip to content

Commit 98a193d

Browse files
committed
try with original output
1 parent 160a231 commit 98a193d

File tree

1 file changed

+24
-30
lines changed

1 file changed

+24
-30
lines changed

.github/workflows/release.yaml

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
name: Update changelog
4949
runs-on: ubuntu-latest
5050
outputs:
51-
changelog_commitish: ${{ steps.get_sha.outputs.commit_sha }}
51+
changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }}
5252

5353
steps:
5454
- name: Checkout repository
@@ -82,12 +82,6 @@ jobs:
8282
author_email: [email protected]
8383
message: "chore(release): Update changelog, package.json and manifest.json versions [skip ci]"
8484

85-
- name: Get commit SHA
86-
id: get_sha
87-
run: |
88-
COMMIT_SHA=$(git rev-parse HEAD)
89-
echo "commit_sha=$COMMIT_SHA" >> $GITHUB_OUTPUT
90-
9185
create_github_release:
9286
name: Create github release
9387
needs: [release_metadata, update_changelog]
@@ -165,29 +159,29 @@ jobs:
165159
files: |
166160
actors-mcp-server.dxt
167161
168-
publish_to_npm:
169-
name: Publish to NPM
170-
needs: [ update_changelog ]
171-
runs-on: ubuntu-latest
172-
steps:
173-
- uses: actions/checkout@v4
174-
with:
175-
ref: ${{ needs.update_changelog.outputs.changelog_commitish }}
176-
- name: Use Node.js 22
177-
uses: actions/setup-node@v4
178-
with:
179-
node-version: 22
180-
cache: 'npm'
181-
cache-dependency-path: 'package-lock.json'
182-
- name: Install dependencies
183-
run: |
184-
echo "access=public" >> .npmrc
185-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
186-
npm ci
187-
- name: Build module
188-
run: npm run build
189-
- name: Publish to NPM
190-
run: npm publish --tag latest
162+
#publish_to_npm:
163+
# name: Publish to NPM
164+
# needs: [ update_changelog ]
165+
# runs-on: ubuntu-latest
166+
# steps:
167+
# - uses: actions/checkout@v4
168+
# with:
169+
# ref: ${{ needs.update_changelog.outputs.changelog_commitish }}
170+
# - name: Use Node.js 22
171+
# uses: actions/setup-node@v4
172+
# with:
173+
# node-version: 22
174+
# cache: 'npm'
175+
# cache-dependency-path: 'package-lock.json'
176+
# - name: Install dependencies
177+
# run: |
178+
# echo "access=public" >> .npmrc
179+
# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
180+
# npm ci
181+
# - name: Build module
182+
# run: npm run build
183+
# - name: Publish to NPM
184+
# run: npm publish --tag latest
191185

192186
env:
193187
NODE_AUTH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}

0 commit comments

Comments
 (0)