aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gen_bindings.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/gen_bindings.yml b/.github/workflows/gen_bindings.yml
index 36f97cd7..99d8168c 100644
--- a/.github/workflows/gen_bindings.yml
+++ b/.github/workflows/gen_bindings.yml
@@ -89,7 +89,6 @@ jobs:
needs: test-zig
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
- # if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
with:
@@ -104,14 +103,13 @@ jobs:
git config user.email "none"
git config user.name "GH Action"
git add .
- git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.ref }})"
+ git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.sha }})"
git push
deploy-nim:
needs: test-nim
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
- # if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
with:
@@ -126,5 +124,5 @@ jobs:
git config user.email "none"
git config user.name "GH Action"
git add .
- git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.ref }})"
+ git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.sha }})"
git push