mirror of https://github.com/actions/toolkit
Fix indentation
parent
b92588fa7f
commit
7edb0957cc
|
@ -92,13 +92,13 @@ jobs:
|
||||||
- name: Create tag
|
- name: Create tag
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.git.createRef({
|
github.rest.git.createRef({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
ref: 'refs/tags/${{ needs.test.outputs.tag }}',
|
ref: 'refs/tags/${{ needs.test.outputs.tag }}',
|
||||||
sha: '${{ needs.test.outputs.sha }}'
|
sha: '${{ needs.test.outputs.sha }}'
|
||||||
})
|
})
|
||||||
- name: notify slack on failure
|
- name: notify slack on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -30,13 +30,13 @@ jobs:
|
||||||
- name: Create tag
|
- name: Create tag
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.git.createRef({
|
github.rest.git.createRef({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
ref: 'refs/tags/${{ needs.test.outputs.tag }}',
|
ref: 'refs/tags/${{ needs.test.outputs.tag }}',
|
||||||
sha: '${{ needs.test.outputs.sha }}'
|
sha: '${{ needs.test.outputs.sha }}'
|
||||||
})
|
})
|
||||||
# - name: notify slack on failure
|
# - name: notify slack on failure
|
||||||
# if: failure()
|
# if: failure()
|
||||||
# run: |
|
# run: |
|
||||||
|
|
Loading…
Reference in New Issue