Skip to content

Commit

Permalink
fix main build
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jun 17, 2024
1 parent c489611 commit 1910eed
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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

0 comments on commit 1910eed

Please sign in to comment.