File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,14 @@ jobs:
29
29
- name : Build the project
30
30
run : make build SHELL=cmd
31
31
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
-
38
32
- name : Package the build into a ZIP file
39
33
run : |
40
34
mkdir output
41
35
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
43
37
44
38
- name : Upload build artifact
45
39
uses : actions/upload-artifact@v3
46
40
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
You can’t perform that action at this time.
0 commit comments