From 0d214bc1a87bb8fd612fab63b005e9e9ea7dc280 Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Wed, 25 Jun 2025 19:13:31 -0700 Subject: [PATCH] Fix build workflow --- .github/workflows/build-dist.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-dist.yml b/.github/workflows/build-dist.yml index fd031b9..1ddb312 100644 --- a/.github/workflows/build-dist.yml +++ b/.github/workflows/build-dist.yml @@ -9,7 +9,7 @@ jobs: build-dist: runs-on: ubuntu-latest - steps: + steps: - name: Generate GitHub App token id: generate-token uses: tibdex/github-app-token@v2 @@ -44,10 +44,9 @@ jobs: git commit -m "Bump dist build" || echo "No build changes" SHA=$(git rev-parse HEAD) - mkdir -p dist echo "$SHA" > dist/commit.txt git add dist/commit.txt - git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)" || echo "No SHA change" + git commit -m "Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@$SHA/dist/spark.module.js)" - git push origin HEAD:main \ No newline at end of file + git push origin HEAD:main