Skip to content

Commit

Permalink
ci: add build_number to artifacts name
Browse files Browse the repository at this point in the history
  • Loading branch information
Forgot-Dream authored Feb 25, 2024
1 parent 708d820 commit ef6fd9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
runs-on: windows-latest

env:
# artifacts 命名 [名字]-[commit-hash]
artifactName: SduNetCheckTool-${{ github.sha }}
appPackagesArchive: SduNetCheckTool-${{ github.sha }}.zip
appPackagesExecutable: SduNetCheckTool-${{ github.sha }}.exe
# artifacts 命名 [名字]-[build-number]-[commit-hash]
artifactName: SduNetCheckTool-build.${{github.run_number}}-${{ github.sha }}
appPackagesArchive: SduNetCheckTool-build.${{github.run_number}}-${{ github.sha }}.zip
appPackagesExecutable: SduNetCheckTool-build.${{github.run_number}}-${{ github.sha }}.exe

solutionPath: SduNetCheckTool.sln
coreProjectDirectory: SduNetCheckTool.Core
Expand Down

0 comments on commit ef6fd9b

Please sign in to comment.