mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
ci: rename workflow
This commit is contained in:
6
.github/workflows/npm_release.yml
vendored
6
.github/workflows/npm_release.yml
vendored
@@ -1,9 +1,12 @@
|
||||
name: Release @nativescript/core to NPM
|
||||
name: '@nativescript/core -> npm'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master' ]
|
||||
|
||||
env:
|
||||
NPM_TAG: 'next'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -17,7 +20,6 @@ jobs:
|
||||
- name: Generate Version
|
||||
working-directory: packages/core
|
||||
run: |
|
||||
echo NPM_TAG=next >> $GITHUB_ENV
|
||||
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);")-$NPM_TAG-$(date +"%m-%d-%Y")-$GITHUB_RUN_ID >> $GITHUB_ENV
|
||||
|
||||
- name: Bump Version
|
||||
|
||||
Reference in New Issue
Block a user