Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Apr 17, 2024
1 parent d58db1d commit d3b5647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.node binary
*.node -text -diff -delta
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ jobs:
- name: "bundle tim for node"
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
timNodeName="tim-$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]').node"
git pull origin main
git checkout .
rm ./bindings/node/tim/src/bin/$timNodeName
cp ./bin/tim.node ./bindings/node/tim/src/bin/$timNodeName
git status
git add ./bindings/node/tim/src/bin/$timNodeName
git commit -m "bundle tim for node on ${{ runner.os }}"
- name: Push changes # push the output folder to your repo
Expand Down

0 comments on commit d3b5647

Please sign in to comment.