mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 04:09:06 +08:00
Fix indentation
This commit is contained in:
parent
b92588fa7f
commit
7edb0957cc
14
.github/workflows/releases.yml
vendored
14
.github/workflows/releases.yml
vendored
@ -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: |
|
||||||
|
14
.github/workflows/tag-test.yml
vendored
14
.github/workflows/tag-test.yml
vendored
@ -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…
x
Reference in New Issue
Block a user