File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 101101 UPLOAD_RELEASE : true
102102 TARGZIP_PACKAGES : true
103103# ## --------------------------- ###
104+ DEFAULT_BRANCH : ${{ github.event.repository.default_branch }}
105+ BRANCH_STABLE : stable
106+ BRANCH_BETA : beta
104107 SOURCE_DIRECTORY_A : openwrt/bin/packages/arm_cortex-a9_vfpv3-d16
105108 SOURCE_DIRECTORY_B : openwrt/bin/targets/mvebu/cortexa9/kmods/$KMOD_DIR
106109 DESTINATION_GITHUB_USERNAME : DevOpenWRT-Router
@@ -380,6 +383,15 @@ jobs:
380383 chmod +x "$GITHUB_WORKSPACE"/scripts/$FUNCTIONS_SH
381384 source "$GITHUB_WORKSPACE"/scripts/$FUNCTIONS_SH
382385 SMART_CHMOD
386+ # ## ----------------------------------------------------------------- ###
387+ - name : TESTING
388+ working-directory : ' /workdir/openwrt'
389+ if : env.DEFAULT_BRANCH == env.BRANCH_BETA && !cancelled()
390+ run : |
391+ echo "Success"
392+ echo "Default Branch is: $DEFAULT_BRANCH"
393+ echo "BETA: $BRANCH_BETA"
394+ echo "STABLE: $BRANCH_STABLE"
383395# ## ----------------------------------------------------------------- ###
384396 - name : Cache Key Get/Check
385397 working-directory : ' /workdir/openwrt'
You can’t perform that action at this time.
0 commit comments