ci: Do not run upload action on forks
This commit is contained in:
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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user