ci: Switch action-get-latest-tag to github-action-get-previous-tag
The former is not maintained anymore and produces deprecation warnings in CI.
This commit is contained in:
@@ -27,10 +27,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tools: loadtest
|
tools: loadtest
|
||||||
cache-id: test-loadtest
|
cache-id: test-loadtest
|
||||||
- uses: actions-ecosystem/action-get-latest-tag@v1
|
- uses: WyriHaximus/github-action-get-previous-tag@04e8485ecb6487243907e330d522ff60f02283ce # v1.4.0
|
||||||
id: get-latest-tag
|
id: get-latest-tag
|
||||||
with:
|
with:
|
||||||
semver_only: true
|
prefix: v
|
||||||
- name: Run loadtest
|
- name: Run loadtest
|
||||||
run: |
|
run: |
|
||||||
postgrest-loadtest-against main ${{ steps.get-latest-tag.outputs.tag }}
|
postgrest-loadtest-against main ${{ steps.get-latest-tag.outputs.tag }}
|
||||||
@@ -50,10 +50,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions-ecosystem/action-get-latest-tag@v1
|
- uses: WyriHaximus/github-action-get-previous-tag@04e8485ecb6487243907e330d522ff60f02283ce # v1.4.0
|
||||||
id: get-latest-tag
|
id: get-latest-tag
|
||||||
with:
|
with:
|
||||||
semver_only: true
|
prefix: v
|
||||||
- name: Setup Nix Environment
|
- name: Setup Nix Environment
|
||||||
uses: ./.github/actions/setup-nix
|
uses: ./.github/actions/setup-nix
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user