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