Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefMarlin authored Sep 27, 2024
1 parent 4ad6e8c commit 46188ea
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
RELEASE_NAME: Latest release
BINARY_PREFIX: viterbiCli
BUILD_DIR: build
SOURCE_DIR: ./cmd/viterbiCli # New environment variable for source directory
SOURCE_DIR: ./cmd/viterbiCli

jobs:
build_and_release:
Expand Down Expand Up @@ -70,10 +70,11 @@ jobs:
- name: Delete existing release
uses: dev-drprasad/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG }}
delete_release: true
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
id: create_release
Expand All @@ -88,9 +89,11 @@ jobs:
prerelease: false

- name: Upload Release Assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs').promises;
const path = require('path');
Expand Down

0 comments on commit 46188ea

Please sign in to comment.