File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,9 @@ inputs:
26
26
you define are supported by the Nix version you're using.
27
27
28
28
github_access_token :
29
- required : false
29
+ default : ${{ github.token }}
30
30
description : |
31
- Configure Nix to use the specified token when fetching from GitHub. If
32
- this setting is not specified, nix-quick-install-action will use the
33
- content of the GITHUB_TOKEN environment variable instead (if set).
31
+ Configure Nix to use the specified token when fetching from GitHub.
34
32
35
33
nix_on_tmpfs :
36
34
required : true
Original file line number Diff line number Diff line change 71
71
if [[ -n " ${GITHUB_ACCESS_TOKEN:- } " ]]; then
72
72
echo >> " $NIX_CONF_FILE " \
73
73
" access-tokens = github.com=$GITHUB_ACCESS_TOKEN "
74
- elif [[ -n " ${GITHUB_TOKEN:- } " ]]; then
75
- echo >> " $NIX_CONF_FILE " \
76
- " access-tokens = github.com=$GITHUB_TOKEN "
77
74
fi
78
75
79
76
# Populate the nix db
You can’t perform that action at this time.
0 commit comments