Codebase list golang-github-nicksnyder-go-i18n.v2 / 5d2ec5f
Fix workflow condition (#249) Nick Snyder authored 3 years ago GitHub committed 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
55 build:
66 name: Build
77 runs-on: ubuntu-latest
8 if: (github.event_name == 'push' && github.repository_owner == 'nicksnyder') || (github.event_name == 'pull_request' && github.repository_owner != 'nicksnyder')
8 if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request'
99 steps:
1010 - name: Install Go
1111 uses: actions/setup-go@v2
2727 build_1_9_7:
2828 name: Build with Go 1.9.7
2929 runs-on: ubuntu-latest
30 if: (github.event_name == 'push' && github.repository_owner == 'nicksnyder') || (github.event_name == 'pull_request' && github.repository_owner != 'nicksnyder')
30 if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request'
3131 steps:
3232 - name: Install Go
3333 uses: actions/setup-go@v2