Skip to content

Commit

Permalink
Checkout current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Oct 25, 2022
1 parent 20315a9 commit 7514cf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ inputs:
runs:
using: 'composite'
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6

- uses: actions/checkout@v3
with:
ref: ${{ steps.branch-name.outputs.current_branch }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down

0 comments on commit 7514cf0

Please sign in to comment.