Skip to content

Commit 5a2a5f4

Browse files
Try 3rd party package for renaming package files (#38)
1 parent 522de73 commit 5a2a5f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ jobs:
3939
node-version: '20.x'
4040
registry-url: 'https://npm.pkg.github.com'
4141

42+
- name: Swap package name
43+
uses: jaywcjlove/github-action-package@v2.0.0
44+
with:
45+
rename: '@ava-cassiopeia/a-simple-switch'
46+
4247
- name: Publish to GitHub Packages
4348
env:
4449
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4550
run: |
46-
npm run gh-release-package-swap
4751
npm publish

0 commit comments

Comments
 (0)