mirror of
https://github.com/storytold/spark.git
synced 2026-10-28 09:08:44 +00:00
Fix build workflow
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
|
name: Build dist
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-dist:
|
build-dist:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Generate GitHub App token
|
- name: Generate GitHub App token
|
||||||
id: generate-token
|
id: generate-token
|
||||||
uses: tibdex/github-app-token@v2
|
uses: tibdex/github-app-token@v2
|
||||||
@@ -37,6 +44,7 @@ jobs:
|
|||||||
git commit -m "Bump dist build" || echo "No build changes"
|
git commit -m "Bump dist build" || echo "No build changes"
|
||||||
|
|
||||||
SHA=$(git rev-parse HEAD)
|
SHA=$(git rev-parse HEAD)
|
||||||
|
mkdir -p dist
|
||||||
echo "$SHA" > dist/commit.txt
|
echo "$SHA" > dist/commit.txt
|
||||||
|
|
||||||
git add dist/commit.txt
|
git add dist/commit.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user