From 741e47f55f1569eee4b230c08e09286e5887f25a Mon Sep 17 00:00:00 2001 From: Davilarek Date: Sun, 15 Sep 2024 23:20:36 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e8e5262..c90ec58c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,22 +23,24 @@ jobs: run: | pnpm install pnpm dist + - name: Store dist location + run: | + echo "DIST_LOC=$(pwd)" >> $GITHUB_ENV - name: Clone BrowserFS-builds repository uses: actions/checkout@v4 with: repository: LosersUnited/BrowserFS-builds - name: Move dist run: | - mv dist BrowserFS-builds/dist + mv $DIST_LOC/dist ./dist # - uses: EndBug/add-and-commit@v9 # with: # cwd: './BrowserFS-builds' # default_author: github_actions # message: 'Automatic build based on ${{ steps.commit.outputs.hash }}' - run: | - cd ./BrowserFS-builds - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add . git commit -m "Automatic build based on ${{ steps.commit.outputs.hash }}" git push