Merge pull request from Guovin/dev

fix: BRANCH_NAME
This commit is contained in:
Govin 2024-05-09 09:46:39 +08:00 committed by GitHub
commit 5868aaa5a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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: