Skip publish artifacts until api token is set
This commit is contained in:
parent
cc28334807
commit
785075073f
|
|
@ -50,19 +50,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: EdXposed-SandHook-debug
|
name: EdXposed-SandHook-debug
|
||||||
path: './EdXposed-SandHook-debug/*'
|
path: './EdXposed-SandHook-debug/*'
|
||||||
- name: Prepare publish artifact
|
# - name: Prepare publish artifact
|
||||||
if: ${{ github.event_name == 'push' && success() }}
|
# if: ${{ github.event_name == 'push' && success() }}
|
||||||
run: mkdir -p to_publish && mv edxp-core/release/EdXposed-YAHFA-v*-release.zip to_publish/EdXposed-YAHFA-release.zip && mv edxp-core/release/EdXposed-SandHook-v*-release.zip to_publish/EdXposed-SandHook-release.zip && echo $APPVEYOR_BUILD_NUMBER > to_publish/version
|
# run: mkdir -p to_publish && mv edxp-core/release/EdXposed-YAHFA-v*-release.zip to_publish/EdXposed-YAHFA-release.zip && mv edxp-core/release/EdXposed-SandHook-v*-release.zip to_publish/EdXposed-SandHook-release.zip && echo $APPVEYOR_BUILD_NUMBER > to_publish/version
|
||||||
- name: Publish build
|
# - name: Publish build
|
||||||
if: ${{ github.event_name == 'push' && success() }}
|
# if: ${{ github.event_name == 'push' && success() }}
|
||||||
uses: dmnemec/copy_file_to_another_repo_action@v1.0.4
|
# uses: dmnemec/copy_file_to_another_repo_action@v1.0.4
|
||||||
env:
|
# env:
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||||
with:
|
# with:
|
||||||
source_file: 'to_publish/*'
|
# source_file: 'to_publish/*'
|
||||||
destination_repo: 'ElderDrivers/Repository-Website'
|
# destination_repo: 'ElderDrivers/Repository-Website'
|
||||||
destination_folder: 'assets'
|
# destination_folder: 'assets'
|
||||||
user_email: 'mlgmxyysd@meowcat.org'
|
# user_email: 'mlgmxyysd@meowcat.org'
|
||||||
user_name: 'MlgmXyysd'
|
# user_name: 'MlgmXyysd'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue