Skip to content

Commit 09ae797

Browse files
committed
Rename artifacts
1 parent 903ed00 commit 09ae797

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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
@@ -63,8 +66,10 @@ jobs:
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 }}

0 commit comments

Comments
 (0)