Skip to content

Commit

Permalink
[UPD] release trigger; (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
atlet99 authored Oct 29, 2024
1 parent 9e6b599 commit e5c1280
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,11 @@ jobs:
git push origin $new_tag
- name: Trigger Release Workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: "ci.yml",
ref: "main",
});
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/${{ github.repository }}/actions/workflows/ci.yml/dispatches \
-d '{"ref":"main"}'
2 changes: 0 additions & 2 deletions .release-version
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
v0.1.2
version v0.1.2 (build 11575241483)

0 comments on commit e5c1280

Please sign in to comment.