Skip to content

Commit

Permalink
Update trigger-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vasfvitor committed Oct 28, 2023
1 parent 28cfb8a commit 21ff666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trigger-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
env:
# Set a variable to handle the branch
CURRENT_BRANCH: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tauriBranch || 'refs/heads/1.x' }}"
CURRENT_BRANCH: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tauriBranch || 'refs/remotes/origin/1.x' }}"

steps:
- run: echo "$CURRENT_BRANCH"
Expand All @@ -35,8 +35,8 @@ jobs:
with:
repository: vasfvitor/tauri
# here sets the branch
ref: 1.x
# ref: ${{ github.env.CURRENT_BRANCH }}
# ref: 1.x
ref: ${{ github.env.CURRENT_BRANCH }}
# ref: ${{ github.event.client_payload.ref }}
path: tauri

Expand Down

0 comments on commit 21ff666

Please sign in to comment.