use input instead of env to receive github token

Co-authored-by: Platane <me@platane.me>
This commit is contained in:
Awayume
2023-10-09 16:04:10 +09:00
committed by Platane
parent 01fa6d7aac
commit c9644d3dfa
8 changed files with 19 additions and 14 deletions

View File

@@ -38,8 +38,6 @@ jobs:
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
dist/github-contribution-grid-snake.gif?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: ensure the generated file exists
run: |
@@ -79,8 +77,6 @@ jobs:
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: ensure the generated file exists
run: |