Update upload-artifact action to pass build (#5260)

This commit is contained in:
Ian McKenzie
2024-09-15 17:12:09 -07:00
committed by GitHub
parent c9f76a01c5
commit f543046349

View File

@@ -113,7 +113,7 @@ jobs:
- name: Upload Windows binary - name: Upload Windows binary
# only upload binaries for pull requests # only upload binaries for pull requests
if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}} if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: stash-win.exe name: stash-win.exe
path: dist/stash-win.exe path: dist/stash-win.exe
@@ -121,7 +121,7 @@ jobs:
- name: Upload macOS binary - name: Upload macOS binary
# only upload binaries for pull requests # only upload binaries for pull requests
if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}} if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: stash-macos name: stash-macos
path: dist/stash-macos path: dist/stash-macos
@@ -129,7 +129,7 @@ jobs:
- name: Upload Linux binary - name: Upload Linux binary
# only upload binaries for pull requests # only upload binaries for pull requests
if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}} if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: stash-linux name: stash-linux
path: dist/stash-linux path: dist/stash-linux
@@ -137,7 +137,7 @@ jobs:
- name: Upload UI - name: Upload UI
# only upload for pull requests # only upload for pull requests
if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}} if: ${{ github.event_name == 'pull_request' && github.base_ref != 'refs/heads/develop' && github.base_ref != 'refs/heads/master'}}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: stash-ui.zip name: stash-ui.zip
path: dist/stash-ui.zip path: dist/stash-ui.zip