mirror of
https://github.com/konpa/devicon.git
synced 2025-08-08 23:56:43 +02:00
Change the screenshot upload to using upload-artifacts
This commit is contained in:
31
.github/workflows/peek_icons.yml
vendored
31
.github/workflows/peek_icons.yml
vendored
@@ -31,20 +31,25 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: geckodriver-log
|
name: geckodriver-log
|
||||||
path: ./geckodriver.log
|
path: ./geckodriver.log
|
||||||
- name: Upload screenshot of the newly made icons
|
# - name: Upload screenshot of the newly made icons
|
||||||
id: icons_overview_img_step
|
# id: icons_overview_img_step
|
||||||
uses: devicons/public-upload-to-imgur@v2.1
|
# uses: devicons/public-upload-to-imgur@v2.1
|
||||||
if: success()
|
# if: success()
|
||||||
|
# with:
|
||||||
|
# path: ./screenshots/new_icons.png
|
||||||
|
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||||
|
# - name: Upload zoomed in screenshot of the newly made icons
|
||||||
|
# id: icons_detailed_img_step
|
||||||
|
# uses: devicons/public-upload-to-imgur@v2.1
|
||||||
|
# if: success()
|
||||||
|
# with:
|
||||||
|
# path: ./screenshots/screenshot_*.png
|
||||||
|
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||||
|
- name:
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: ./screenshots/new_icons.png
|
name: screenshots
|
||||||
client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
path: ./screenshots/*.png
|
||||||
- name: Upload zoomed in screenshot of the newly made icons
|
|
||||||
id: icons_detailed_img_step
|
|
||||||
uses: devicons/public-upload-to-imgur@v2.1
|
|
||||||
if: success()
|
|
||||||
with:
|
|
||||||
path: ./screenshots/screenshot_*.png
|
|
||||||
client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
|
||||||
- name: Generate the markdowns for the screenshot and put it in the DETAILED_IMGS_MARKDOWN env var
|
- name: Generate the markdowns for the screenshot and put it in the DETAILED_IMGS_MARKDOWN env var
|
||||||
if: success()
|
if: success()
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user