mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-06 00:04:18 +01:00
skip some steps on pull request
This commit is contained in:
1 parent
3d5441fba2
commit
3082392397
1 file changed
+7
@@ -24,6 +24,7 @@ jobs:
|
|||||||
cp docs/*.html docs/mandoc.css ready
|
cp docs/*.html docs/mandoc.css ready
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/[email protected]
|
uses: wangyucode/[email protected]
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
@@ -298,6 +299,7 @@ jobs:
|
|||||||
tar -zcf ready/dep_root-${{ matrix.os }}-${{ matrix.arch }}.tgz dep_root
|
tar -zcf ready/dep_root-${{ matrix.os }}-${{ matrix.arch }}.tgz dep_root
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/[email protected]
|
uses: wangyucode/[email protected]
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
@@ -310,6 +312,7 @@ jobs:
|
|||||||
remoteDir: '/palera1n/artifacts/c-rewrite'
|
remoteDir: '/palera1n/artifacts/c-rewrite'
|
||||||
|
|
||||||
- name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} build
|
- name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} build
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: palera1n-${{ matrix.os }}-${{ matrix.arch }}
|
name: palera1n-${{ matrix.os }}-${{ matrix.arch }}
|
||||||
@@ -317,6 +320,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
- name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} debug symbols
|
- name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} debug symbols
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: palera1n-${{ matrix.os }}-${{ matrix.arch }}.dSYM
|
name: palera1n-${{ matrix.os }}-${{ matrix.arch }}.dSYM
|
||||||
@@ -324,6 +328,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
darwin-dist:
|
darwin-dist:
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: build-darwin
|
needs: build-darwin
|
||||||
steps:
|
steps:
|
||||||
@@ -346,6 +351,7 @@ jobs:
|
|||||||
zip -r9 ready/palera1n-macos.dSYM.zip palera1n-macos.dSYM
|
zip -r9 ready/palera1n-macos.dSYM.zip palera1n-macos.dSYM
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/[email protected]
|
uses: wangyucode/[email protected]
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
@@ -633,6 +639,7 @@ jobs:
|
|||||||
tar -zcf ready/dep_root_${{ matrix.triple }}.tgz dep_root
|
tar -zcf ready/dep_root_${{ matrix.triple }}.tgz dep_root
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/[email protected]
|
uses: wangyucode/[email protected]
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
|
|||||||
Reference in new issue
Block a user