Skip to content

Commit

Permalink
fix:branch(#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed May 6, 2024
1 parent 3dde619 commit 3131f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Set branch name
id: vars
run: echo ::set-output name=branch::${{ github.ref == 'refs/heads/gd' && 'gd' || 'master' }}
run: echo ::set-output name=branch::${{ github.repository_owner == 'Guovin' && 'gd' || 'master' }}
- uses: actions/checkout@v3
with:
ref: ${{ steps.vars.outputs.branch }}
Expand Down

0 comments on commit 3131f88

Please sign in to comment.