Update releases.yml

Fixed the latest tags fetching for the ng repos.
pull/11/head
Ruslan Baidan 2022-10-10 16:41:35 +02:00 committed by GitHub
parent 4ddb6c42d8
commit 2648319da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 2 deletions

View File

@ -48,18 +48,34 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} 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 - name: Install ng-anr
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: monarc-project/ng-anr repository: monarc-project/ng-anr
ref: ${{ steps.latestrelease.outputs.releasetag }} ref: ${{ steps.ng_anr_lasttag.outputs.tag }}
path: './node_modules/ng_anr' 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 - name: Install ng-backoffice
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: monarc-project/ng-backoffice repository: monarc-project/ng-backoffice
ref: ${{ steps.latestrelease.outputs.releasetag }} ref: ${{ steps.ng_backoffice_lasttag.outputs.tag }}
path: './node_modules/ng_backoffice' path: './node_modules/ng_backoffice'
- name: Install ng-backoffice dependencies - name: Install ng-backoffice dependencies