Add OS-specific build archives to GitHub workflow
Keep Running / Build (push) Failing after 2m45s
Details
Keep Running / Build (push) Failing after 2m45s
Details
Updated GitHub Actions workflow to create and upload build archives for Linux, MacOS and Windows. Previously, we were creating a single archive without specifying the intended operating system which might lead to compatibility issues. This update will create separate build archives for each OS, making it easier for users to download the correct version for their system.
This commit is contained in:
parent
acd0ab94ef
commit
8e80da343b
|
@ -13,12 +13,30 @@ jobs:
|
|||
run: npm ci
|
||||
- name: Building project
|
||||
run: npm run build
|
||||
- name: Creating archive
|
||||
- name: Creating Linux Archive
|
||||
uses: vimtor/action-zip@v1.1
|
||||
with:
|
||||
files: out/
|
||||
dest: build.zip
|
||||
- name: Uploading archive
|
||||
files: out/kr-linux
|
||||
dest: linux.zip
|
||||
- name: Upload Linux Archive
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build.zip
|
||||
path: linux.zip
|
||||
- name: Creating MacOS Archive
|
||||
uses: vimtor/action-zip@v1.1
|
||||
with:
|
||||
files: out/kr-macos
|
||||
dest: macos.zip
|
||||
- name: Upload MacOS Archive
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: macos.zip
|
||||
- name: Creating Windows Archive
|
||||
uses: vimtor/action-zip@v1.1
|
||||
with:
|
||||
files: out/kr-win.exe
|
||||
dest: windows.zip
|
||||
- name: Upload Windows Archive
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: windows.zip
|
||||
|
|
Loading…
Reference in New Issue