From bd7461aaa2535fa1bb3bc60c27031e2a1b789576 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Mon, 13 May 2024 20:39:08 +0200 Subject: [PATCH] chore: Update alpha.yml workflow to use input variables for releasing --- .github/workflows/alpha.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index c05cd7599..6a48706d3 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -61,7 +61,7 @@ jobs: npm i -g gluon-build@next - name: Bump version - if: ${{ github.event.inputs.update_version }} + if: ${{ github.event.inputs.update_version == true }} run: | pnpm gluon ci --brand alpha --bump prerelease @@ -79,7 +79,7 @@ jobs: echo "version=$(gluon get version | xargs)" >> $GITHUB_OUTPUT - uses: stefanzweifel/git-auto-commit-action@v4 - if: ${{ github.event.inputs.update_version }} + if: ${{ github.event.inputs.update_version == true }} with: commit_message: 🔖 Update version to ${{ steps.data.outputs.version }} commit_user_name: Zen Browser Robot @@ -126,8 +126,9 @@ jobs: - name: Gluon fix run: | - echo "This is a workaround for a bug in gluon, I don't know why it's needed but it is" - touch .gluon/command + echo "This is a workaround for a bug in gluon, I don't know why it's needed but it is" + mkdir -p .gluon + touch .gluon/command - name: Check version run: | @@ -565,7 +566,7 @@ jobs: path: ./dist/update release: - if: ${{ github.event.inputs.create_release }} + if: ${{ github.event.inputs.create_release == true }} permissions: write-all name: Release needs: [build-data, linux, source, windows, check-release]