Fixed the last tag determining
parent
d787c6524c
commit
94bf5123e9
|
@ -48,18 +48,35 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install ng-anr
|
- uses: oprypin/find-latest-tag@v1
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
with:
|
||||||
repository: monarc-project/ng-anr
|
repository: monarc-project/ng-anr
|
||||||
ref: ${{ github.event.releases.latest.tag_name }}
|
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.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-anr
|
||||||
|
releases-only: true
|
||||||
|
id: ng_client_lasttag
|
||||||
|
|
||||||
|
- run: echo "ng-client is at version ${{ steps.ng_client_lasttag.outputs.tag }}"
|
||||||
|
|
||||||
- name: Install ng-client
|
- name: Install ng-client
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: monarc-project/ng-client
|
repository: monarc-project/ng-client
|
||||||
ref: ${{ github.event.releases.latest.tag_name }}
|
ref: ${{ steps.ng_client_lasttag.outputs.tag }}
|
||||||
path: './node_modules/ng_client'
|
path: './node_modules/ng_client'
|
||||||
|
|
||||||
- name: Install ng-client dependencies
|
- name: Install ng-client dependencies
|
||||||
|
|
Loading…
Reference in New Issue