forked from GitHubMirrors/silverbullet-icalendar
Use Deno v1.x and add debugging to workflow
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
Some checks failed
Build SilverBullet Plug / build (push) Failing after 10s
This commit is contained in:
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@@ -16,22 +16,23 @@ jobs:
|
|||||||
- name: Setup Deno
|
- name: Setup Deno
|
||||||
uses: denoland/setup-deno@v2
|
uses: denoland/setup-deno@v2
|
||||||
with:
|
with:
|
||||||
deno-version: v2.x
|
deno-version: v1.x
|
||||||
|
|
||||||
|
|
||||||
- name: Build Plug
|
- name: Build Plug
|
||||||
run: deno task build
|
run: |
|
||||||
|
deno task build
|
||||||
|
ls -lh *.plug.js
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git add icalendar.plug.js
|
git add icalendar.plug.js
|
||||||
if git diff --quiet && git diff --staged --quiet; then
|
if git diff --quiet --staged; then
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
else
|
else
|
||||||
git commit -m "Build and update icalendar.plug.js [skip ci]"
|
git commit -m "Build and update icalendar.plug.js [skip ci]"
|
||||||
git push
|
git push --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user