1
0
mirror of https://github.com/konpa/devicon.git synced 2025-02-24 09:12:36 +01:00

Change the screenshot upload to using upload-artifacts

This commit is contained in:
Thomas Bui 2021-01-03 13:24:03 -08:00
parent a6a6c24510
commit 3c4e8bcd87

View File

@ -31,20 +31,25 @@ jobs:
with:
name: geckodriver-log
path: ./geckodriver.log
- name: Upload screenshot of the newly made icons
id: icons_overview_img_step
uses: devicons/public-upload-to-imgur@v2.1
if: success()
# - name: Upload screenshot of the newly made icons
# id: icons_overview_img_step
# uses: devicons/public-upload-to-imgur@v2.1
# 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:
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: screenshots
path: ./screenshots/*.png
- name: Generate the markdowns for the screenshot and put it in the DETAILED_IMGS_MARKDOWN env var
if: success()
env: