mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 14:40:17 +00:00
chore(release): Do not set version, use tag instead (#658)
* Do not set version, use tag instead * Fix * Fix
This commit is contained in:
parent
292caa9d31
commit
1ef1ebd1df
28
.github/workflows/publish.yml
vendored
28
.github/workflows/publish.yml
vendored
@ -3,15 +3,15 @@ name: "Publish aqua"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
tag:
|
||||
description: "tag to checkout to"
|
||||
type: string
|
||||
description: "aqua version to publish"
|
||||
required: true
|
||||
workflow_call:
|
||||
inputs:
|
||||
version:
|
||||
tag:
|
||||
description: "tag to checkout to"
|
||||
type: string
|
||||
description: "aqua version to publish"
|
||||
required: true
|
||||
|
||||
env:
|
||||
@ -25,6 +25,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ inputs.tag }}
|
||||
|
||||
- name: Cache Scala
|
||||
uses: coursier/cache-action@v6
|
||||
@ -76,6 +78,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ inputs.tag }}
|
||||
|
||||
- name: Download aqua-cli artifact
|
||||
uses: actions/download-artifact@v3
|
||||
@ -105,10 +109,6 @@ jobs:
|
||||
cache-dependency-path: "cli/cli-npm/package-lock.json"
|
||||
cache: "npm"
|
||||
|
||||
- name: Set version
|
||||
run: npm version --allow-same-version ${{ github.event.inputs.version }}
|
||||
working-directory: cli/cli-npm
|
||||
|
||||
- run: npm i
|
||||
working-directory: cli/cli-npm
|
||||
|
||||
@ -134,6 +134,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ inputs.tag }}
|
||||
|
||||
- name: Download aqua-api artifact
|
||||
uses: actions/download-artifact@v3
|
||||
@ -163,10 +165,6 @@ jobs:
|
||||
cache-dependency-path: "api/aqua-api-npm/package-lock.json"
|
||||
cache: "npm"
|
||||
|
||||
- name: Set version
|
||||
run: npm version --allow-same-version ${{ github.event.inputs.version }}
|
||||
working-directory: api/aqua-api-npm
|
||||
|
||||
- run: npm i
|
||||
working-directory: api/aqua-api-npm
|
||||
|
||||
@ -189,6 +187,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ inputs.tag }}
|
||||
|
||||
- name: Download aqua-lsp artifact
|
||||
uses: actions/download-artifact@v3
|
||||
@ -218,10 +218,6 @@ jobs:
|
||||
cache-dependency-path: "language-server/language-server-npm/package-lock.json"
|
||||
cache: "npm"
|
||||
|
||||
- name: Set version
|
||||
run: npm version --allow-same-version ${{ github.event.inputs.version }}
|
||||
working-directory: language-server/language-server-npm
|
||||
|
||||
- run: npm i
|
||||
working-directory: language-server/language-server-npm
|
||||
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
||||
needs: release-please
|
||||
uses: ./.github/workflows/publish.yml
|
||||
with:
|
||||
version: ${{ needs.release-please.outputs.version }}
|
||||
tag: ${{ github.ref }}
|
||||
|
||||
slack:
|
||||
if: always()
|
||||
|
Loading…
Reference in New Issue
Block a user