A GitHub Action for setting up a .netrc file for accessing private Go repositories.
To use the GitHub Action, add the following to your job:
- uses: conventional-actions/setup-netrc@v1
Name | Default | Description |
---|---|---|
machine |
github.com |
the remote machine name |
username |
$GITHUB_REPOSITORY_OWNER |
the remote username |
password |
$GITHUB_TOKEN |
the remote password |
No outputs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conventional-actions/setup-netrc@v1
The scripts and documentation in this project are released under the MIT License.