@@ -29,13 +29,13 @@ jobs:
2929 run : npm install
3030 - name : Run Markmap
3131 run : npx markmap --no-toolbar innersource-program-mind-map.md -o innersource-program-mind-map.html
32- # - name: Screenshot Markmap Website
33- # id: screenshot-generator
34- # uses: swinton/screenshot-website@v1.x
35- # with:
36- # source: pattern-categorization/innersource-program-mind-map.html
37- # destination: innersource-program-mind-map.png
38- # full-page: false
32+ - name : Screenshot Markmap Website
33+ id : screenshot-generator
34+ uses : swinton/screenshot-website@main
35+ with :
36+ source : pattern-categorization/innersource-program-mind-map.html
37+ destination : innersource-program-mind-map.png
38+ full-page : false
3939 # - name: Copy Screenshot
4040 # run: cp ${{ steps.screenshot-generator.outputs.path }} .
4141 # - name: Reduce Screenshot Size (PNG)
4444 # uses: stefanzweifel/git-auto-commit-action@v4
4545 # with:
4646 # commit_message: Re-creating markmap and screenshot
47- - name : install puppeteer-headful
48- uses : mujo-code/puppeteer-headful@master # Required for headful puppeteer
49- env :
50- CI : ' true'
51- - name : screenshots-ci-action
52- uses : flameddd/screenshots-ci-action@master
53- with :
54- url : file://${{ github.workspace }}/pattern-categorization/innersource-program-mind-map.html
55- type : ' png'
56- # devices: iPhone 6,iPhone 6 landscape,Nexus 7,Pad Pro,Galaxy S III landscape,iPad Pro landscape
57- - uses : actions/upload-artifact@v2 # Upload screenshots to Actions Artifacts via actions/upload-artifact@v2
58- with :
59- path : screenshots
60- name : Download-screenshots
0 commit comments