Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 922 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 922 Bytes

setup-netrc

A GitHub Action for setting up a .netrc file for accessing private Go repositories.

Usage

To use the GitHub Action, add the following to your job:

- uses: conventional-actions/setup-netrc@v1

Inputs

Name Default Description
machine github.com the remote machine name
username $GITHUB_REPOSITORY_OWNER the remote username
password $GITHUB_TOKEN the remote password

Outputs

No outputs

Example

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: conventional-actions/setup-netrc@v1

License

The scripts and documentation in this project are released under the MIT License.