Skip to content

Commit be44d7d

Browse files
committed
build: TESTING SOMETHING
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
1 parent 714d071 commit be44d7d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build-openwrt.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ env:
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'

0 commit comments

Comments
 (0)