Skip to content

Commit 48a721e

Browse files
committed
fix: use make release with target and user/email
1 parent d517550 commit 48a721e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
9696
- name: Retrieve Version
9797
run: |
98+
git config --global user.name 'github-actions[bot]'
99+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
98100
cd ./src/http-server
99101
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
100102
echo "CRATE_VERSION=$(cargo tag --no-commit --no-tag -p=v ${{ inputs.version }})" >> $GITHUB_ENV
@@ -103,7 +105,7 @@ jobs:
103105
fi
104106
105107
- name: Build binary
106-
run: cargo build --release --target ${{ matrix.target }} -p http-server
108+
run: make release TARGET=${{ matrix.target }}
107109

108110
- name: Package binary
109111
run: |

0 commit comments

Comments
 (0)