commit
b0457183e3
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -18,10 +18,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Set branch name
|
- name: Set branch name
|
||||||
id: vars
|
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
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.vars.outputs.branch }}
|
ref: ${{ env.BRANCH_NAME }}
|
||||||
- name: Run with setup-python 3.11
|
- name: Run with setup-python 3.11
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user