diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index ea591f86..15242aa1 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -24,8 +24,3 @@ jobs: with: repository: Leukocyte-Lab/AGH2-Manifest token: ${{ secrets.GH_TOKEN }} - - name: dump .version.json - id: versions - run: | - VERSION=$(cat .version.json) - echo "::set-output name=version::${VERSION}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4429e6e..f5cee8ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,12 @@ jobs: env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + - name: Dump .version.json + id: versions + run: | + VERSION=$(cat .version.json) + echo "::set-output name=version::${VERSION}" + - name: Invoke workflow Update ArgusHack in Leukocyte-Lab/ArgusHack2 run: | echo '{"version": ${{ toJson(steps.versions.outputs.version) }}}' | gh workflow -R Leukocyte-Lab/ArgusHack2 run agh2-update.yml -r develop --json