Skip to content

Commit 9c0a111

Browse files
committed
dirt fix
1 parent 3e30221 commit 9c0a111

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/build.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,14 @@ jobs:
2929
- name: Build the project
3030
run: make build SHELL=cmd
3131

32-
- name: Generate unique archive name
33-
id: vars
34-
run: |
35-
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
36-
echo "UNIQUE_NAME=TF2-GPTChatBot-win-$(COMMIT_HASH)" >> $GITHUB_ENV
37-
3832
- name: Package the build into a ZIP file
3933
run: |
4034
mkdir output
4135
cp -r frontend/dist/win-unpacked/* output/
42-
powershell Compress-Archive -Path output/* -DestinationPath output/$(UNIQUE_NAME).zip
36+
powershell Compress-Archive -Path output/* -DestinationPath output/TF2-GPTChatBot-win-$(git rev-parse --short HEAD).zip
4337
4438
- name: Upload build artifact
4539
uses: actions/upload-artifact@v3
4640
with:
47-
name: $UNIQUE_NAME
48-
path: output/$(UNIQUE_NAME).zip
41+
name: TF2-GPTChatBot-win-$(git rev-parse --short HEAD)
42+
path: output/TF2-GPTChatBot-win-$(git rev-parse --short HEAD).zip

0 commit comments

Comments
 (0)