From 1910eedcce1abf9b77afd4f8509b7ba46313f5da Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Mon, 17 Jun 2024 11:21:20 +0200 Subject: [PATCH] fix main build --- .github/workflows/main-build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 6172bf3..1a631b1 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -31,12 +31,14 @@ jobs: with: version: ${{ matrix.viash_version }} - - name: Specify Viash version + - name: Specify package version run: | if [[ ${{ matrix.name }} ~= "build_0_9" ]]; then cp _viash_0.9.yaml _viash.yaml + echo "version: ${{matrix.name}}" >> _viash.yaml + else + sed -i "s/'dev'/'${{ matrix.name }}'/g" _viash.yaml fi - echo "viash_version: ${{ matrix.viash_version }}" >> _viash.yaml - name: Remove target folder from .gitignore run: | @@ -45,7 +47,6 @@ jobs: - uses: viash-io/viash-actions/ns-build@v5 with: - config_mod: ${{ matrix.config_mod }} parallel: true - name: Deploy to target branch @@ -59,7 +60,6 @@ jobs: uses: viash-io/viash-actions/ns-build@v5 with: parallel: true - config_mod: ${{ matrix.config_mod }} platform: docker setup: build @@ -73,6 +73,5 @@ jobs: - name: Push container uses: viash-io/viash-actions/ns-build@v5 with: - config_mod: ${{ matrix.config_mod }} platform: docker setup: push