Skip to content

Commit

Permalink
ci: handle prerelease tag [skip_ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
edusperoni committed Sep 27, 2023
1 parent d23ca94 commit f1cfdf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
branches:
- main
tags:
- 'v*'
- "v*"

env:
NPM_TAG: "next"
Expand All @@ -13,7 +13,6 @@ env:
ANDROID_ABI: x86_64
NDK_ARCH: darwin-x86_64


jobs:
build:
name: Build
Expand Down Expand Up @@ -131,16 +130,16 @@ jobs:
- build
- test
permissions:
contents: read
id-token: write
contents: read
id-token: write
env:
NPM_VERSION: ${{needs.build.outputs.npm_version}}
NPM_TAG: ${{needs.build.outputs.npm_tag}}
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
- uses: actions/download-artifact@v3
with:
name: npm-package
Expand Down Expand Up @@ -181,3 +180,4 @@ jobs:
with:
artifacts: "dist/nativescript-android-*.tgz"
bodyFile: "body.md"
prerelease: ${{needs.build.outputs.npm_tag != 'latest'}}

0 comments on commit f1cfdf6

Please sign in to comment.