ci: Do not run upload action on forks

This commit is contained in:
Frieder Bluemle authored and Wez Furlong committed 2021-09-21 09:43:09 -07:00
1 parent 1ec7c3843d
commit 89e4d7b787
29 files changed
+34 -1

No files matched your search

@@ -143,6 +143,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -90,6 +90,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -126,6 +126,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -71,6 +71,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -119,6 +119,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz"
release-tag: "nightly"
+1
View File
@@ -68,6 +68,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -119,6 +119,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz"
release-tag: "nightly"
+1
View File
@@ -68,6 +68,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -136,6 +136,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz"
release-tag: "nightly"
+1
View File
@@ -87,6 +87,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -112,6 +112,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -65,6 +65,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -112,6 +112,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -65,6 +65,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -112,6 +112,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -65,6 +65,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -112,6 +112,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
release-tag: "nightly"
+1
View File
@@ -65,6 +65,7 @@ jobs:
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.rpm"
prerelease: true
@@ -112,6 +112,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "WezTerm-*.zip"
release-tag: "nightly"
+1
View File
@@ -85,6 +85,7 @@ jobs:
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: "WezTerm-*.zip"
prerelease: true
@@ -119,6 +119,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz;*.AppImage;*.zsync"
release-tag: "nightly"
+1
View File
@@ -68,6 +68,7 @@ jobs:
run: "bash ci/appimage.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -105,6 +105,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz"
release-tag: "nightly"
+1
View File
@@ -62,6 +62,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -119,6 +119,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "wezterm-*.deb;wezterm-*.xz;wezterm-*.tar.gz"
release-tag: "nightly"
@@ -68,6 +68,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
wezterm-*.deb
@@ -85,6 +85,7 @@ jobs:
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false
with:
files: "WezTerm-*.zip;WezTerm-*.exe"
release-tag: "nightly"
+1
View File
@@ -58,6 +58,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Upload to Tagged Release"
uses: softprops/action-gh-release@v1
if: github.event.repository.fork == false
with:
files: |
WezTerm-*.zip