From 410d9711287864cfe429e9b226a5236568bf2b50 Mon Sep 17 00:00:00 2001 From: Marvin Scham <67930021+marvinscham@users.noreply.github.com> Date: Sat, 30 Jul 2022 01:56:08 +0200 Subject: [PATCH] Replaced script with minified version Also refactored to remove unnecessary dependency --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c4f86f..52a5fb2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,12 +12,8 @@ jobs: - uses: actions/checkout@v2 name: Check out current commit - - uses: suisei-cn/actions-download-file@v1 - id: colorthief-js - name: Download JS file for color-thief - with: - url: (https://raw.githubusercontent.com/lokesh/color-thief/master/src/color-thief.js) - auto-match: true + - name: Download minified color-thief + run: curl https://raw.githubusercontent.com/lokesh/color-thief/master/dist/color-thief.min.js -o color-thief.js - name: Create Pull Request uses: peter-evans/create-pull-request@v4.0.4