From 2648319da17f654d6e6fc4656e539eb94e69f5a7 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Mon, 10 Oct 2022 16:41:35 +0200 Subject: [PATCH] Update releases.yml Fixed the latest tags fetching for the ng repos. --- .github/workflows/releases.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 77d5b21..b36fce7 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -48,18 +48,34 @@ jobs: with: node-version: ${{ matrix.node-version }} + - uses: oprypin/find-latest-tag@v1 + with: + repository: monarc-project/ng-anr + releases-only: true + id: ng_anr_lasttag + + - run: echo "ng-anr is at version ${{ steps.ng_anr_lasttag.outputs.tag }}" + - name: Install ng-anr uses: actions/checkout@v3 with: repository: monarc-project/ng-anr - ref: ${{ steps.latestrelease.outputs.releasetag }} + ref: ${{ steps.ng_anr_lasttag.outputs.tag }} path: './node_modules/ng_anr' + - uses: oprypin/find-latest-tag@v1 + with: + repository: monarc-project/ng-backoffice + releases-only: true + id: ng_backoffice_lasttag + + - run: echo "ng-anr is at version ${{ steps.ng_backoffice_lasttag.outputs.tag }}" + - name: Install ng-backoffice uses: actions/checkout@v3 with: repository: monarc-project/ng-backoffice - ref: ${{ steps.latestrelease.outputs.releasetag }} + ref: ${{ steps.ng_backoffice_lasttag.outputs.tag }} path: './node_modules/ng_backoffice' - name: Install ng-backoffice dependencies