Skip to content

Commit

Permalink
fixing env
Browse files Browse the repository at this point in the history
  • Loading branch information
MyroTk committed Dec 1, 2023
1 parent a5934b3 commit 474db7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.env.release_tag }}
release_name: Release v${{ github.env.release_tag }}
tag_name: ${{ env.release_tag }}
release_name: Release v${{ env.release_tag }}
prerelease: ${{ inputs.prerelease }}
draft: ${{ inputs.draft }}
body-path: release_notes.md
Expand All @@ -71,13 +71,13 @@ jobs:
uses: actions/download-artifact@v3
with:
name: |
clickhouse-sink-connector-kafka-${{ github.env.release_tag }}.jar
clickhouse-sink-connector-lt-${{ github.env.release_tag }}.jar
clickhouse-sink-connector-kafka-${{ env.release_tag }}.jar
clickhouse-sink-connector-lt-${{ env.release_tag }}.jar
- name: Upload jar files to release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: |
clickhouse-sink-connector-kafka-${{ github.env.release_tag }}.jar
clickhouse-sink-connector-lt-${{ github.env.release_tag }}.jar
clickhouse-sink-connector-kafka-${{ env.release_tag }}.jar
clickhouse-sink-connector-lt-${{ env.release_tag }}.jar
16 changes: 3 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,25 @@ on:
- false
- true

env:
release_tag: ${{ inputs.release_tag }}

jobs:
debug:
runs-on: ubuntu-latest
steps:
- run: |
echo $release_tag
echo ${{ github.env.release_tag }}
build-kafka-lightweight:
uses: ./.github/workflows/docker-build.yml
with:
IMAGE_TAG: ${{ github.env.release_tag }}-test
IMAGE_TAG: ${{ inputs.release_tag }}-test
secrets: inherit

testflows-kafka:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-kafka.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.env.release_tag }}-test-kafka
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-kafka
secrets: inherit

testflows-lightweight:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-lightweight.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.env.release_tag }}-test-lt
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-lt
secrets: inherit

java-tests-kafka:
Expand Down

0 comments on commit 474db7d

Please sign in to comment.