We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 345702a commit 7dd18ceCopy full SHA for 7dd18ce
.github/workflows/build_latest.yml
@@ -11,17 +11,15 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- name: "Find default branch"
14
- - uses: octokit/request-action@v2.x
+ uses: octokit/request-action@v2.x
15
id: get_default_branch
16
with:
17
route: GET /repos/{owner}/{repo}
18
owner: BimberLab
19
repo: DiscvrLabKeyModules
20
env:
21
GITHUB_TOKEN: ${{ secrets.PAT }}
22
-
23
- - name: "Print branch"
24
- - run: "Default branch: ${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}"
+ run: "Default branch: ${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}"
25
26
- name: "Build DISCVR"
27
if: github.ref == '/refs/heads/${{ fromJson(steps.get_default_branch.outputs.data).default_branch }}'
0 commit comments