Skip to content

Commit

Permalink
Update venus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ckvsoft authored Oct 25, 2023
1 parent 9b04808 commit ce2dac2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/venus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
steps:
- name: Set BRANCH_NAME from github.ref
id: extract_branch
run: |
echo "BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/refs\/pull\/.*\///' | sed 's/\/merge//')" >> $GITHUB_ENV
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | sed 's/refs\/pull\/.*\///' | sed 's/\/merge//')"
- name: Checkout code
uses: actions/checkout@v3
- name: Check for dockerenv file
Expand Down Expand Up @@ -52,7 +51,7 @@ jobs:
env:
NO_REBOOT: 1
DEBUG: 1
BRANCH: ${{ env.BRANCH }}
BRANCH: ${{ steps.extract_branch.outputs.branch }}
ACTOR: ${{ github.actor }}
- name: Execute Run-Script under Venus OS
run: /data/etc/Spotmarket-Switcher/service/run
Expand Down

0 comments on commit ce2dac2

Please sign in to comment.