From 8917b52499269b3e4058161f8f99d5e55d2f1cee Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Fri, 25 Apr 2025 14:39:26 +0000 Subject: [PATCH] ci: configure git config globally --- .github/workflows/release.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 39c6eb438f..e54ccc9c9f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,10 +55,11 @@ jobs: env: # Required to authenticate with Git GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + working-directory: './rivet' run: | # Configure Git - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" # Install Deno curl -fsSL https://deno.land/x/install/install.sh | sh @@ -70,12 +71,12 @@ jobs: EOF # Install dependencies - cd ./rivet && yarn install --immutable + yarn install --immutable if [ "${{ inputs.latest }}" = "true" ]; then - cd ./rivet && ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setupCi + ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setupCi else - cd ./rivet && ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --setupCi + ./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --setupCi fi