We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d080983 commit 0fdce3dCopy full SHA for 0fdce3d
.github/workflows/type-summary.yml
@@ -22,11 +22,16 @@ jobs:
22
- name: Build and run type summary project
23
run: ./gradlew --no-daemon run --args='-o ${{ github.workspace }}/typeSummary.txt'
24
working-directory: ./typesummary
25
+ - name: Get branch name
26
+ run: |
27
+ $branchName = $Env:GITHUB_REF.replace("refs/heads/", "")
28
+ echo "CURRENT_BRANCH=${branchName}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
29
+ shell: pwsh
30
- name: push
31
uses: github-actions-x/[email protected]
32
with:
33
github-token: ${{ secrets.GITHUB_TOKEN }}
- push-branch: ${{ github.ref }}
34
+ push-branch: ${{ env.CURRENT_BRANCH }}
35
commit-message: '- updates types summary'
36
force-add: 'true'
37
files: typeSummary.txt
0 commit comments