mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 05:00:59 +03:00
Force tag
This commit is contained in:
parent
71c2b4fa8e
commit
d477d517b5
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -6,8 +6,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: 'Optional tag to build'
|
description: 'Tag to build'
|
||||||
required: false
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 0
|
RUST_BACKTRACE: 0
|
||||||
@ -65,6 +65,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ inputs.tag }}
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@ -104,18 +105,12 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
mv tempdir/leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip .
|
mv tempdir/leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip .
|
||||||
|
|
||||||
- name: Set tag ref
|
|
||||||
run: echo "TAG_REF=refs/tags/${{ github.event.inputs.tag }}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Debug GitHub Context
|
|
||||||
run: |
|
|
||||||
echo "GITHUB_REF=${{ github.ref }}"
|
|
||||||
echo "GITHUB_REF_TYPE=${{ github.ref_type }}"
|
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(env.TAG_REF, 'refs/tags/')
|
if: startsWith(inputs.tag, 'v')
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ inputs.tag }}
|
||||||
files: |
|
files: |
|
||||||
leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip
|
leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user