chore: rename branch master => main

This commit is contained in:
LongYinan 2020-12-03 16:30:14 +08:00
parent 6b0aa23172
commit 66088642ee
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881
10 changed files with 18 additions and 12 deletions

View file

@ -6,7 +6,7 @@ env:
on:
push:
branches:
- master
- main
pull_request:
jobs:
@ -67,7 +67,7 @@ jobs:
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
with:
tool: 'benchmarkjs'
output-file-path: bench.txt
@ -76,7 +76,7 @@ jobs:
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
if: github.ref != 'refs/heads/master'
if: github.ref != 'refs/heads/main'
with:
tool: 'benchmarkjs'
output-file-path: bench.txt

View file

@ -2,7 +2,8 @@ name: Lint
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -6,7 +6,8 @@ env:
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -5,7 +5,8 @@ env:
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -5,7 +5,8 @@ env:
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -5,7 +5,8 @@ env:
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -5,7 +5,8 @@ env:
on:
push:
branches: [master, develop]
branches:
- main
pull_request:
jobs:

View file

@ -18,7 +18,7 @@ A minimal library for building compiled `NodeJS` add-ons in `Rust`.
![macOS/Windows/Linux x64](https://github.com/napi-rs/napi-rs/workflows/macOS/Windows/Linux%20x64/badge.svg)
![Linux-aarch64](https://github.com/napi-rs/napi-rs/workflows/Linux-aarch64/badge.svg)
![Windows i686](https://github.com/napi-rs/napi-rs/workflows/Windows%20i686/badge.svg)
[![FreeBSD](https://api.cirrus-ci.com/github/napi-rs/napi-rs.svg)](https://cirrus-ci.com/github/napi-rs/napi-rs?branch=master)
[![FreeBSD](https://api.cirrus-ci.com/github/napi-rs/napi-rs.svg)](https://cirrus-ci.com/github/napi-rs/napi-rs?branch=main)
## Operating Systems

View file

@ -4,7 +4,7 @@
"description": "Cli tools for napi-rs",
"keywords": ["cli", "rust", "napi", "n-api", "neon"],
"author": "LongYinan <lynweklm@gmail.com>",
"homepage": "https://github.com/napi-rs/napi-rs/tree/master/cli#readme",
"homepage": "https://github.com/napi-rs/napi-rs",
"license": "MIT",
"bin": {
"napi": "./scripts/index.js"

View file

@ -4,7 +4,7 @@
"description": "Rust target triples objects",
"keywords": ["Rust", "cross-compile", "napi", "n-api", "node-rs", "napi-rs"],
"author": "LongYinan <lynweklm@gmail.com>",
"homepage": "https://github.com/napi-rs/napi-rs/tree/master/triples#readme",
"homepage": "https://github.com/napi-rs/napi-rs/tree/main/triples#readme",
"license": "MIT",
"main": "./index.js",
"types": "./index.d.ts",