Skip to content

Commit 7dd18ce

Browse files
committed
Bugfix workflow
1 parent 345702a commit 7dd18ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build_latest.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: "Find default branch"
14-
- uses: octokit/request-action@v2.x
14+
uses: octokit/request-action@v2.x
1515
id: get_default_branch
1616
with:
1717
route: GET /repos/{owner}/{repo}
1818
owner: BimberLab
1919
repo: DiscvrLabKeyModules
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.PAT }}
22-
23-
- name: "Print branch"
24-
- run: "Default branch: ${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}"
22+
run: "Default branch: ${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}"
2523

2624
- name: "Build DISCVR"
2725
if: github.ref == '/refs/heads/${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}'

0 commit comments

Comments
 (0)