Skip to content

Commit

Permalink
Revert "Update references to default branch"
Browse files Browse the repository at this point in the history
This reverts commit b26dcd5.
  • Loading branch information
AArnott committed Sep 9, 2022
1 parent 3fe0191 commit d93f8b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- main
- master
- validate/*

jobs:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,22 @@ SemVer2|The SemVer 2.0 compliant version.

## Example usage

In each example below, replace the `main` branch reference in `@main` with the latest versioned branch available at the time you consume it.
In each example below, replace the `master` branch reference in `@master` with the latest versioned branch available at the time you consume it.
This will help your consumption be stable even as we (may) make breaking changes.
You can always unlock new features in the Action by bumping the `v0.x` to v0.x+1 later.

### Using step outputs

```yaml
- uses: dotnet/nbgv@main
- uses: dotnet/nbgv@master
id: nbgv
- run: echo 'SemVer2=${{ steps.nbgv.outputs.SemVer2 }}'
```
### Using environment variables
```yaml
- uses: dotnet/nbgv@main
- uses: dotnet/nbgv@master
with:
setAllVars: true
- run: echo "NBGV_SemVer2 $NBGV_SemVer2"
Expand All @@ -79,7 +79,7 @@ You can always unlock new features in the Action by bumping the `v0.x` to v0.x+1
### Stamp the version on a package.json file
```yaml
- uses: dotnet/nbgv@main
- uses: dotnet/nbgv@master
with:
stamp: package.json
```
Expand Down

0 comments on commit d93f8b6

Please sign in to comment.