From a9ad58d92693a8b8d2d046588eb11def7d2abe6b Mon Sep 17 00:00:00 2001 From: gowridurgad Date: Mon, 17 Jun 2024 17:55:34 +0530 Subject: [PATCH] updated --- .github/workflows/build-tool-packages.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index 7231e98..adca8dd 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -20,7 +20,7 @@ on: description: "Whether to publish releases" required: true type: boolean - + defaults: run: shell: pwsh @@ -66,7 +66,7 @@ jobs: ./builders/build-${{ inputs.tool-name }}.ps1 -Version ${{ inputs.tool-version }} ` -Platform ${{ matrix.platform }} ` -Architecture ${{ matrix.architecture }} - + - name: Publish artifact uses: actions/upload-artifact@v3 @@ -118,7 +118,7 @@ jobs: Write-Host "Unsupported tool - ${{ inputs.tool-name }}" exit 1 } - + 7z.exe x "$artifactName" -y | Out-Null } else { $artifactName = "${{ env.ARTIFACT_NAME }}.tar.gz" @@ -220,6 +220,7 @@ jobs: data: fs.lstatSync(artifactDir).isDirectory() ? fs.readFileSync(`./${artifactDir}/${artifactName}`) : fs.readFileSync(`./${artifactName}`).toString() }); } + trigger_pr: name: Trigger "Create Pull Request" workflow needs: publish_release