diff --git a/.github/actions/get-view/action.yml b/.github/actions/get-view/action.yml index b0fced7c..23c84878 100644 --- a/.github/actions/get-view/action.yml +++ b/.github/actions/get-view/action.yml @@ -1,15 +1,10 @@ name: pull view action -inputs: - tag: - description: 'The release tag to pull' - type: string - required: true runs: using: "composite" steps: - run: mkdir view && cd view shell: bash - - run: wget https://github.com/metrico/qryn-view/releases/download/$INPUT_TAG/dist.zip + - run: wget https://github.com/metrico/qryn-view/releases/download/$TAG/dist.zip shell: bash - run: unzip dist.zip && rm dist.zip shell: bash diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index d44d7d6f..eb4e17d9 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -36,7 +36,7 @@ jobs: node-version: 18 - name: build qryn-view uses: ./.github/actions/get-view - with: + env: tag: v3.3.2 - name: Publish to NPM if: ${{ steps.checksecrets.outputs.secretspresent }} @@ -71,7 +71,7 @@ jobs: SECRET: ${{ secrets.DOCKERHUB_TOKEN }} - name: build qryn-view uses: ./.github/actions/get-view - with: + env: tag: v3.3.2 - name: Set up Docker QEMU if: ${{ steps.checkdocker.outputs.secretspresent }} @@ -146,7 +146,7 @@ jobs: SECRET: ${{ secrets.DOCKERHUB_TOKEN }} - name: build qryn-view uses: ./.github/actions/get-view - with: + env: tag: v3.3.2 - name: Set up Docker QEMU if: ${{ steps.checkdocker.outputs.secretspresent }} diff --git a/.github/workflows/node-clickhouse.js.yml b/.github/workflows/node-clickhouse.js.yml index 0461d118..cd1c4c61 100644 --- a/.github/workflows/node-clickhouse.js.yml +++ b/.github/workflows/node-clickhouse.js.yml @@ -43,7 +43,7 @@ jobs: cache: 'npm' - name: build qryn-view uses: ./.github/actions/get-view - with: + env: tag: v3.3.2 - name: check if qryn-view pulled run: pushd view && ls | grep assets && popd