mirror of https://github.com/ShareX/ShareX.git
Update build.yml
This commit is contained in:
parent
469b25ea2f
commit
23d2203c21
|
@ -40,10 +40,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Set APP_VERSION
|
||||
run: |
|
||||
|
@ -82,42 +82,42 @@ jobs:
|
|||
|
||||
- name: Upload artifact (Setup)
|
||||
if: matrix.configuration == 'Release'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Setup
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}-setup.exe
|
||||
|
||||
- name: Upload artifact (Portable)
|
||||
if: matrix.configuration == 'Release'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Portable
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}-portable.zip
|
||||
|
||||
- name: Upload artifact (Debug)
|
||||
if: matrix.configuration == 'Debug'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Debug
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}-debug.zip
|
||||
|
||||
- name: Upload artifact (Steam)
|
||||
if: matrix.configuration == 'Steam'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Steam
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}-Steam.zip
|
||||
|
||||
- name: Upload artifact (MicrosoftStore)
|
||||
if: matrix.configuration == 'MicrosoftStore'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: MicrosoftStore
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}.appx
|
||||
|
||||
- name: Upload artifact (MicrosoftStoreDebug)
|
||||
if: matrix.configuration == 'MicrosoftStoreDebug'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: MicrosoftStoreDebug
|
||||
path: Output\ShareX-${{ env.APP_VERSION }}-debug.appx
|
||||
|
@ -138,41 +138,41 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Download artifact (Setup)
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Setup
|
||||
path: Output
|
||||
|
||||
- name: Download artifact (Portable)
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Portable
|
||||
path: Output
|
||||
|
||||
- name: Download artifact (Debug)
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Debug
|
||||
path: Output
|
||||
|
||||
- name: Download artifact (Steam)
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Steam
|
||||
path: Output
|
||||
|
||||
- name: Download artifact (MicrosoftStore)
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: MicrosoftStore
|
||||
path: Output
|
||||
|
||||
- name: Download artifact (MicrosoftStoreDebug)
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: MicrosoftStoreDebug
|
||||
path: Output
|
||||
|
|
Loading…
Reference in New Issue