Skip to content

Commit

Permalink
Update publisher-exe.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Aug 14, 2023
1 parent ca03baa commit 988bc9b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publisher-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 32,20 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref }}

- name: Create Artifact Directory
run: mkdir -p artifacts

- name: Copy Output File to Artifact Directory
run: copy dist\is-this-bible.exe artifacts\

- name: Prepare Additional Files
run: |
copy is_this_bible_model.pkl dist\
copy is_this_bible_vectorizer.pkl dist\
copy is_this_bible_model.pkl artifacts\
copy is_this_bible_vectorizer.pkl artifacts\
- name: Zip Artifact Directory
run: |
cd dist
cd artifacts
powershell -Command "Compress-Archive -Path * -DestinationPath is-thus-bible.zip"
Expand All @@ -54,6 59,6 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v1
with:
files: "dist/is-this-bible.zip" # Use double quotes and access the VERSION variable correctly
files: "artifacts/is-this-bible.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 988bc9b

Please sign in to comment.