mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Use GH_* instead of GITHUB_* for environment variables
According to [the docs], environment variables may not begin with `GITHUB_`. [the docs]: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#naming-conventions-for-environment-variables
This commit is contained in:
parent
eb66325ddd
commit
c1cdabc4a3
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -151,8 +151,8 @@ jobs:
|
||||
- name: Deploy
|
||||
run: dart pub run grinder pkg-github-release pkg-github-linux
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.SASSBOT_GITHUB_TOKEN }}"
|
||||
GITHUB_USER: sassbot
|
||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||
GH_USER: sassbot
|
||||
|
||||
deploy_github_macos:
|
||||
name: "Deploy Github: Mac OS"
|
||||
@ -167,8 +167,8 @@ jobs:
|
||||
- name: Deploy
|
||||
run: dart pub run grinder pkg-github-macos
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.SASSBOT_GITHUB_TOKEN }}"
|
||||
GITHUB_USER: sassbot
|
||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||
GH_USER: sassbot
|
||||
|
||||
deploy_github_windows:
|
||||
name: "Deploy Github: Windows"
|
||||
@ -183,8 +183,8 @@ jobs:
|
||||
- name: Deploy
|
||||
run: dart pub run grinder pkg-github-windows
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.SASSBOT_GITHUB_TOKEN }}"
|
||||
GITHUB_USER: sassbot
|
||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||
GH_USER: sassbot
|
||||
|
||||
deploy_npm:
|
||||
name: Deploy npm
|
||||
@ -247,8 +247,8 @@ jobs:
|
||||
- name: Deploy
|
||||
run: dart pub run grinder pkg-homebrew-update
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.SASSBOT_GITHUB_TOKEN }}"
|
||||
GITHUB_USER: sassbot
|
||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||
GH_USER: sassbot
|
||||
|
||||
deploy_chocolatey:
|
||||
name: "Deploy Chocolatey"
|
||||
|
@ -33,6 +33,8 @@ void main(List<String> args) {
|
||||
as Map<String, Object>;
|
||||
pkg.npmReadme.fn = () => _readAndResolveMarkdown("package/README.npm.md");
|
||||
pkg.standaloneName.value = "dart-sass";
|
||||
pkg.githubUser.value = Platform.environment["GH_USER"];
|
||||
pkg.githubPassword.value = Platform.environment["GH_TOKEN"];
|
||||
|
||||
pkg.githubReleaseNotes.fn = () =>
|
||||
"To install Sass ${pkg.version}, download one of the packages below "
|
||||
|
Loading…
Reference in New Issue
Block a user