Workflow stabilization (#9)
Reviewed-on: phoenix/textsender-auth#9 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -31,16 +31,19 @@ jobs:
|
||||
|
||||
go env -w GOPRIVATE='${{ secrets.GIT_HOST_ROOT }}'
|
||||
|
||||
# echo "Creating local .gitconfig"
|
||||
# touch ~/.gitconfig
|
||||
# cat > ~/.gitconfig << "EOF"
|
||||
# [url "ssh://git@${{ secreats.GIT_HOST_ROOT }}"]
|
||||
# insteadOf = https://${{ secrets.GIT_HOST_ROOT }}
|
||||
# EOF
|
||||
echo "Creating local .gitconfig"
|
||||
touch ~/.gitconfig
|
||||
cat > ~/.gitconfig << "EOF"
|
||||
[url "ssh://git@${{ secrets.GIT_HOST_ROOT }}"]
|
||||
insteadOf = https://${{ secrets.GIT_HOST_ROOT }}
|
||||
EOF
|
||||
|
||||
echo "Building binary"
|
||||
make build
|
||||
|
||||
echo "Binary built"
|
||||
file textsender-auth
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
Reference in New Issue
Block a user