File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,12 +69,13 @@ jobs:
6969 with :
7070 path : artifacts
7171
72- # Rename binaries so they don't overwrite each other
72+ # Rename binaries into dist/ with platform-specific names
7373 - name : Rename binaries
7474 run : |
75- mv artifacts/watchdog-linux/watchdog artifacts/watchdog-linux
76- mv artifacts/watchdog-windows/watchdog.exe artifacts/watchdog-windows.exe
77- mv artifacts/watchdog-macos/watchdog artifacts/watchdog-macos
75+ mkdir dist
76+ cp artifacts/watchdog-linux/watchdog dist/watchdog-linux
77+ cp artifacts/watchdog-windows/watchdog.exe dist/watchdog-windows.exe
78+ cp artifacts/watchdog-macos/watchdog dist/watchdog-macos
7879
7980 - name : Create GitHub Release
8081 uses : softprops/action-gh-release@v2
99100 watchdog --help
100101 ```
101102 files : |
102- artifacts /watchdog-linux
103- artifacts /watchdog-windows.exe
104- artifacts /watchdog-macos
103+ dist /watchdog-linux
104+ dist /watchdog-windows.exe
105+ dist /watchdog-macos
105106 draft : false
106107 prerelease : false
You can’t perform that action at this time.
0 commit comments