Skip to content

Commit 433074c

Browse files
committed
ci: configure git config globally (#2390)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
1 parent f35b5d5 commit 433074c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ jobs:
5555
env:
5656
# Required to authenticate with Git
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
working-directory: './rivet'
5859
run: |
5960
# Configure Git
60-
git config user.name "github-actions[bot]"
61-
git config user.email "github-actions[bot]@users.noreply.github.com"
61+
git config --global user.name "github-actions[bot]"
62+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
6263
6364
# Install Deno
6465
curl -fsSL https://deno.land/x/install/install.sh | sh
@@ -70,12 +71,12 @@ jobs:
7071
EOF
7172
7273
# Install dependencies
73-
cd ./rivet && yarn install --immutable
74+
yarn install --immutable
7475
7576
if [ "${{ inputs.latest }}" = "true" ]; then
76-
cd ./rivet && ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setupCi
77+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setupCi
7778
else
78-
cd ./rivet && ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --setupCi
79+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --setupCi
7980
fi
8081
8182

0 commit comments

Comments
 (0)