Skip to content

Commit bc17cfa

Browse files
authored
Merge pull request #26 from AzureCosmosDB/develop
Release build setup
2 parents 8062f18 + 353a7a1 commit bc17cfa

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,29 @@ jobs:
1313
uses: actions/download-artifact@v3
1414
with:
1515
name: windows-package
16-
path: win-pkg/
16+
path: windows-package
1717
- name: Download macOS x64 package
1818
uses: actions/download-artifact@v3
1919
with:
2020
name: mac-package
21-
path: mac-pkg/
21+
path: mac-package
2222
- name: Download Linux x64 package
2323
uses: actions/download-artifact@v3
2424
with:
2525
name: linux-package
26-
path: lnx-pkg/
26+
path: linux-package
2727
- name: Rename output files
2828
run: |
29-
mv win-pkg/dmt.exe dmt-${{ github.ref_name }}-win-x64.exe
30-
mv mac-pkg/dmt dmt-${{ github.ref_name }}-mac-x64
31-
mv lnx-pkg/dmt dmt-${{ github.ref_name }}-linux-x64
29+
mv windows-package dmt-${{ github.ref_name }}-win-x64.zip
30+
mv mac-package dmt-${{ github.ref_name }}-mac-x64.zip
31+
mv linux-package dmt-${{ github.ref_name }}-linux-x64.zip
3232
- name: Create GitHub release
3333
uses: softprops/action-gh-release@v1
3434
with:
3535
files: |
36-
dmt-${{ github.ref_name }}-win-x64.exe
37-
dmt-${{ github.ref_name }}-mac-x64
38-
dmt-${{ github.ref_name }}-linux-x64
36+
dmt-${{ github.ref_name }}-win-x64.zip
37+
dmt-${{ github.ref_name }}-mac-x64.zip
38+
dmt-${{ github.ref_name }}-linux-x64.zip
3939
build-package:
4040
name: Build self-contained executables
4141
runs-on: ubuntu-latest
@@ -46,21 +46,21 @@ jobs:
4646
- name: Checkout source code
4747
uses: actions/checkout@v3
4848
- name: Execute Action build-with-plugins for Windows
49-
uses: ./actions/build-with-plugins
49+
uses: ./.github/actions/build-with-plugins
5050
id: build-with-plugins-win
5151
with:
5252
platform: windows
5353
platform-short: win
5454
runtime: win-x64
5555
- name: Execute Action build-with-plugins for MacOS
56-
uses: ./actions/build-with-plugins
56+
uses: ./.github/actions/build-with-plugins
5757
id: build-with-plugins-mac
5858
with:
5959
platform: mac
6060
platform-short: mac
6161
runtime: osx-x64
6262
- name: Execute Action build-with-plugins for Linux
63-
uses: ./actions/build-with-plugins
63+
uses: ./.github/actions/build-with-plugins
6464
id: build-with-plugins-linux
6565
with:
6666
platform: linux

0 commit comments

Comments
 (0)