Skip to content

Commit 0077c2b

Browse files
committed
add working directory, remove all mumbo-jumbo
1 parent 0ddfbe8 commit 0077c2b

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
- run: git config user.name "$(git log -n 1 --pretty=format:%an)"
5353
- run: git config user.email "$(git log -n 1 --pretty=format:%ae)"
5454

55-
- run: bun install
56-
57-
- run: echo "versionTag=`npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}"`" >> $GITHUB_ENV
55+
- run: npm version ${{ github.event.inputs.release_type }}
5856
working-directory: packages/react-native-device-activity
5957

58+
- run: bun install
59+
6060
- name: Setup NPM Authentication
6161
run: |
6262
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
@@ -66,11 +66,4 @@ jobs:
6666

6767
- run: git push --follow-tags
6868
env:
69-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
70-
71-
- name: Release
72-
uses: softprops/action-gh-release@v1
73-
with:
74-
name: ${{ env.versionTag }} ${{ github.event.inputs.description }}
75-
tag_name: ${{ env.versionTag }}
76-
generate_release_notes: true
69+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)