Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Feb 13, 2023
1 parent 64ac2a4 commit d3bc831
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build
name: build-docs
on:
push:
branches: [main]
jobs:
docs:
build-docs:
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: release
on:
release:
types: [published]
Expand All @@ -20,14 +20,14 @@ jobs:
id: release
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: svenstaro/upload-release-action@v2
with:
file: example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
asset_name: example.apk
- uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"
- run: npm version ${{ steps.release.outputs.tag_name }} --no-git-tag-version
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: svenstaro/upload-release-action@v2
with:
file: example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
asset_name: example.apk

0 comments on commit d3bc831

Please sign in to comment.