Skip to content

Commit

Permalink
Merge pull request #104 from Guovin/dev
Browse files Browse the repository at this point in the history
feat:branch vars
  • Loading branch information
Guovin authored Apr 29, 2024
2 parents 82a7c18 + 27de5f5 commit 5278408
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:
matrix:
operating-system: ['ubuntu-20.04']
steps:
- name: Set branch name
id: vars
run: echo ::set-output name=branch::${{ github.ref == 'refs/heads/gd' && 'gd' || 'master' }}
- uses: actions/checkout@v3
with:
ref: ${{ steps.vars.outputs.branch }}
- name: Run with setup-python 3.11
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 5278408

Please sign in to comment.