Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myrrc committed Jul 7, 2023
1 parent 535fd93 commit 930c9dd
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: run
name: main
on:
push: { branches: [main] }
pull_request: { branches: [main] }

workflow_dispatch:
inputs:
clickhouse:
default:

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -17,13 +22,11 @@ jobs:

push_to_dockerhub:
runs-on: ubuntu-latest
needs: lint
# if: ${{ github.event_name == 'push' }}
env:
CLICKHOUSE_VERSIONS: ${{ join(inputs.clickhouse) }}
CLICKHOUSE_VERSIONS: "21.8.15.7, 22.3.20.29, 22.8.19.10, 23.3.4.17, 23.4.4.16, 23.5.3.24, latest"
#needs: lint
# if: ${{ github.event_name == 'push' }}
steps:
- run: echo ${{ inputs.clickhouse }}
- run: echo $CLICKHOUSE_VERSIONS
- name: login to dockerhub
uses: docker/login-action@v2
with:
Expand All @@ -42,7 +45,15 @@ jobs:
target:
- {python: "3.6.15", ubuntu: "20.04"}
- {python: "3.10.12", ubuntu: "latest"}
clickhouse: ${{ inputs.clickhouse }}
clickhouse:
- "21.8.15.7"
- "22.3.20.29"
- "22.8.19.10"
- "23.3.4.17"
- "23.4.4.16"
- "23.5.3.24"
- "latest"

runs-on: ubuntu-${{ matrix.target.ubuntu }}
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 930c9dd

Please sign in to comment.