From 2e6416ec00c29470155f2fcd026df8624c2bbdff Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 11:58:54 +0100 Subject: [PATCH] kdjdjdjdjdjdjd --- .gitea/workflows/develop -> build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/develop -> build.yml b/.gitea/workflows/develop -> build.yml index 24903c9..e6b6e99 100644 --- a/.gitea/workflows/develop -> build.yml +++ b/.gitea/workflows/develop -> build.yml @@ -25,9 +25,9 @@ jobs: curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea chmod +x ./tea ./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }} - PR=$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1) - export PR = "${PR//[\"\'\`]/}" - echo ::set-env name=$PR + pr=$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1) + export PR="${pr//[\"\'\`]/}" + echo ::set-env name=PR::$PR rm ./tea - run: git fetch - name: get build branch name