diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7aa5c1e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.node binary +*.node -text -diff -delta \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2635c19..e009cbd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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