Skip to content

Commit

Permalink
Merge pull request #110 from Guovin/dev
Browse files Browse the repository at this point in the history
fix: BRANCH_NAME
  • Loading branch information
Guovin authored May 9, 2024
2 parents 595143c + 62021d7 commit 5868aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- name: Set branch name
id: vars
run: echo "branch=${{ github.repository_owner == 'Guovin' && 'gd' || 'master' }}" >> $GITHUB_ENV
run: echo "BRANCH_NAME=${{ github.repository_owner == 'Guovin' && 'gd' || 'master' }}" >> $GITHUB_ENV
- uses: actions/checkout@v3
with:
ref: ${{ steps.vars.outputs.branch }}
ref: ${{ env.BRANCH_NAME }}
- name: Run with setup-python 3.11
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 5868aaa

Please sign in to comment.