File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,21 @@ jobs:
2121 # - run: yarn build:lib
2222
2323 - name : generate-snake-game-from-github-contribution-grid
24+ id : snake-gif
2425 uses : Platane/snk@master
2526 with :
2627 github_user_name : platane
2728
29+ # - uses: crazy-max/ghaction-github-pages@v2.1.1
30+ # with:
31+ # target_branch: gh-pages
32+ # build_dir: packages/demo/dist
33+ # env:
34+ # GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN_GH_PAGES }}
35+
2836 - run : ls
2937 - run : ls -l github-contribution-grid-snake.gif
30- - run : ls -l
38+ - run : ls -l ${{ steps.snake-gif.outputs.gif_out_path }}
3139 - run : ls
3240 - run : ls
3341 - run : ls
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import { generateContributionSnake } from "./generateContributionSnake";
1212 console . log ( { userName, gifOutPath } , buffer . length ) ;
1313
1414 fs . writeFileSync ( gifOutPath , buffer ) ;
15+
16+ console . log ( `::set-output name=gif_out_path::${ gifOutPath } ` ) ;
1517 } catch ( e ) {
1618 core . setFailed ( `Action failed with "${ e . message } "` ) ;
1719 }
You can’t perform that action at this time.
0 commit comments