mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
[#2149] Update Build System
This commit is contained in:
parent
b30e006575
commit
6020bbb05e
21
.github/workflows/windows-build.yml
vendored
21
.github/workflows/windows-build.yml
vendored
@ -62,9 +62,9 @@ jobs:
|
||||
mv ../EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz .
|
||||
|
||||
- name: Upload build files
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Built files
|
||||
name: built-files-linux
|
||||
path: |
|
||||
EDMarketConnector-release-*.tar.gz
|
||||
|
||||
@ -131,22 +131,31 @@ jobs:
|
||||
Get-ChildItem -Path . -Filter "EDMarketConnector_Installer_*.exe" | Rename-Item -NewName {"EDMarketConnector_Installer_Unsigned_$($_.Name -replace '^EDMarketConnector_Installer_', '')"}
|
||||
|
||||
- name: Upload build files
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Built files
|
||||
name: built-files-windows
|
||||
path: |
|
||||
EDMarketConnector_Installer_*.exe
|
||||
EDMarketConnector-release-*.zip
|
||||
Merge:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ windows_build, linux_build ]
|
||||
steps:
|
||||
- name: Merge Artifacts
|
||||
uses: actions/upload-artifact/merge@v4
|
||||
with:
|
||||
name: Built files
|
||||
pattern: built-files-*
|
||||
|
||||
release:
|
||||
name: Release new version
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ windows_build, linux_build ]
|
||||
needs: Merge
|
||||
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
||||
|
||||
steps:
|
||||
- name: Download binary
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Built files
|
||||
path: ./
|
||||
|
Loading…
x
Reference in New Issue
Block a user