Restrict artifact uploads to develop branch only (#381)

This commit is contained in:
Archez
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
parent 3f089d77cd
commit ff973968e2
+8 -7
View File
@@ -43,13 +43,13 @@ jobs:
env:
CC: gcc
CXX: g++
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: 2ship-linux
path: |
2ship.appimage
readme.txt
# - name: Upload build
# uses: actions/upload-artifact@v4
# with:
# name: 2ship-linux
# path: |
# 2ship.appimage
# readme.txt
# build-windows:
# needs: generate-soh-otr-and-headers
# runs-on: windows-latest
@@ -152,6 +152,7 @@ jobs:
- name: Unzip package
run: Expand-Archive -Path 2ship-windows.zip -DestinationPath 2ship-windows
- name: Upload build
if: ${{ startsWith(github.ref, 'refs/heads/develop') }}
uses: actions/upload-artifact@v4
with:
name: 2ship-windows