Skip to content

Commit

Permalink
Remove useless script (apache#28725)
Browse files Browse the repository at this point in the history
* Automated Change

* Automated Change

* Automated Change

* Refactor : refactor the useless script

* Refactor : remove useless file

---------

Co-authored-by: taojintianxia <[email protected]>
  • Loading branch information
taojintianxia and taojintianxia authored Oct 12, 2023
1 parent d55fe46 commit 1fb445a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}

build-proxy-image:
if: ${{ needs.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE == 'true' }}
if: github.repository == 'apache/shardingsphere'
name: Build Proxy Image
needs: global-environment
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/required-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ jobs:
if [ ${{ toJSON(github.repository) }} = ${{ steps.import-variables.outputs.GLOBAL_REPOSITORY }} ]; then
echo "GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE=true" >> $GITHUB_OUTPUT
echo "GLOBAL_JOB_ENABLED=false" >> $GITHUB_OUTPUT
echo '${{ env.JSON_LABELS }}' | while read line
do
if [ ${line}="type: ${{ steps.import-variables.outputs.RUNNABLE_CI_LABEL }}" ] || [ -z "${{ steps.import-variables.outputs.RUNNABLE_CI_LABEL }}" ]; then
echo "GLOBAL_JOB_ENABLED=true" >> $GITHUB_OUTPUT
break
fi
done
fi
outputs:
GLOBAL_RUNS_ON: ${{ steps.import-variables.outputs.GLOBAL_RUNS_ON }}
Expand Down

0 comments on commit 1fb445a

Please sign in to comment.