Skip to content

Commit

Permalink
update autotag CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo committed Nov 16, 2022
1 parent 8b84558 commit 83dfca5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@ jobs:
tag: ${{ env.VDA_VER }}

- name: Make tag
uses: actions/github-script@v3
uses: actions/github-script@v6
if: steps.tagcheck.outputs.exists == 'false'
with:
github-token: ${{ secrets.WORKFLOW_TOKEN }}
script: |
const { VDA_VER } = process.env
github.git.createRef({
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${VDA_VER}`,
ref: `refs/tags/${process.env.VDA_VER}`,
sha: context.sha
})
- name: Fallback
Expand Down

0 comments on commit 83dfca5

Please sign in to comment.