File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,15 @@ jobs:
4040 - os : ' ubuntu-latest'
4141 label : ' linux'
4242 filename : ' simplelocalize-cli'
43+ downloadFilename : ' simplelocalize-cli-linux'
4344 - os : ' macos-latest'
4445 label : ' mac'
4546 filename : ' simplelocalize-cli'
47+ downloadFilename : ' simplelocalize-cli-mac'
4648 - os : ' windows-latest'
4749 label : ' windows'
4850 filename : ' simplelocalize-cli.exe'
51+ downloadFilename : ' simplelocalize-cli-windows.exe'
4952 runs-on : ${{ matrix.os }}
5053 steps :
5154 - uses : actions/checkout@v3
6366 run : mvn -DskipTests -Pnative clean package
6467 - name : " Test executable"
6568 run : ./target/${{ matrix.filename }} --version
69+ - name : " Rename executable"
70+ run : mv ./target/${{ matrix.filename }} ./target/${{ matrix.downloadFilename }}
6671 - name : " Upload artifact"
6772 uses : actions/upload-artifact@v3
6873 with :
6974 name : simplelocalize-cli-${{ matrix.label }}
70- path : ./target/${{ matrix.filename }}
75+ path : ./target/${{ matrix.downloadFilename }}
You can’t perform that action at this time.
0 commit comments