Skip to content

Commit

Permalink
(fix) Fix in the new pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
K3vinb5 committed Jan 26, 2025
1 parent 852293a commit dfae32e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 41 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ on:
required: true

jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create Git Tag
id: create_tag
uses: actions/github-script@v6
with:
script: |
const tagName = `v${{ github.event.inputs.version }}`;
const { data: tag } = await github.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${tagName}`,
sha: context.sha,
});
return tag;
build-and-release-linux:
runs-on: ubuntu-latest
steps:
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/main1.yml.old

This file was deleted.

0 comments on commit dfae32e

Please sign in to comment.