forked from rbenv/rbenv-installer
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8b6fc4
commit 44a1878
Showing
2 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
name: Release | ||
on: | ||
push: { tags: "v*.*.*" } | ||
push: { tags: "v[0-9]+.[0-9]+.[0-9]+*" } | ||
workflow_dispatch: | ||
permissions: {contents: read} | ||
|
||
jobs: | ||
github: | ||
uses: nodenv/.github/.github/workflows/release.yml@v1 | ||
|
||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
scope: '@nodenv' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} | ||
release: | ||
permissions: {contents: write} | ||
uses: nodenv/.github/.github/workflows/release.yml@v4 | ||
with: | ||
homebrew: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
name: Sync Master | ||
name: Sync Default Branch | ||
on: | ||
push: { branches: main } | ||
workflow_dispatch: | ||
permissions: {contents: read} | ||
|
||
jobs: | ||
sync: | ||
uses: nodenv/.github/.github/workflows/sync-master.yml@v1 | ||
permissions: {contents: write} | ||
uses: nodenv/.github/.github/workflows/sync-master.yml@v4 | ||
|
||
# One-time commands for users to switch-over: | ||
# | ||
# ```console | ||
# git branch -m master main | ||
# git fetch origin | ||
# git branch -u origin/main main | ||
# git remote set-head origin -a | ||
# ``` |