mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-05-06 07:16:45 +08:00
Fix release workflow
This commit is contained in:
parent
ba6716c6e1
commit
f4513702b0
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
@ -30,11 +30,7 @@ jobs:
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
||||
with:
|
||||
# If manual: use the input, otherwise grab the tag from the completed run
|
||||
tag_name: ${{
|
||||
github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name ||
|
||||
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch
|
||||
}}
|
||||
tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.event.workflow_run.head_branch }}
|
||||
registry_fork: ArthurSonzogni/bazel-central-registry
|
||||
|
||||
secrets:
|
||||
|
26
.github/workflows/release.yaml
vendored
26
.github/workflows/release.yaml
vendored
@ -92,17 +92,6 @@ jobs:
|
||||
run: >
|
||||
git archive --format=tar.gz -o source.tar.gz HEAD
|
||||
|
||||
- name: Generate source attestation
|
||||
id: attest_source
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-path: source.tar.gz
|
||||
|
||||
- name: Write source.intoto.jsonl
|
||||
run:
|
||||
jq --compact-output < "${{ steps.attest_source.outputs.bundle-path }}" \
|
||||
> source.tar.gz.intoto.jsonl
|
||||
|
||||
- name: "Upload source package"
|
||||
uses: shogo82148/actions-upload-release-asset@v1
|
||||
with:
|
||||
@ -110,9 +99,14 @@ jobs:
|
||||
asset_path: source.tar.gz
|
||||
overwrite: true
|
||||
|
||||
- name: "Upload source attestation"
|
||||
uses: shogo82148/actions-upload-release-asset@v1
|
||||
- name: Generate source attestation
|
||||
id: attest_source
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
upload_url: ${{ needs.release.outputs.upload_url }}
|
||||
asset_path: source.tar.gz.intoto.jsonl
|
||||
overwrite: true
|
||||
subject-path: source.tar.gz
|
||||
|
||||
- name: "Upload source attestation"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: source.tar.gz.intoto.jsonl
|
||||
path: ${{ steps.attest_source.outputs.bundle-path }}
|
||||
|
@ -4,7 +4,7 @@ Changelog
|
||||
Future release
|
||||
------------
|
||||
|
||||
6.1.4 (2025-05-01)
|
||||
6.1.6 (2025-05-01)
|
||||
------------------
|
||||
|
||||
### Build
|
||||
@ -15,7 +15,7 @@ Future release
|
||||
|
||||
**MODULE.bazel**
|
||||
```bazel
|
||||
bazel_dep(name = "ftxui", version = "6.1.4")
|
||||
bazel_dep(name = "ftxui", version = "6.1.6")
|
||||
```
|
||||
|
||||
**BUILD.bazel**
|
||||
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
project(ftxui
|
||||
LANGUAGES CXX
|
||||
VERSION 6.1.4
|
||||
VERSION 6.1.6
|
||||
DESCRIPTION "C++ Functional Terminal User Interface."
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# the LICENSE file.
|
||||
|
||||
# FTXUI Module.
|
||||
module(name = "ftxui", version = "6.1.4")
|
||||
module(name = "ftxui", version = "6.1.6")
|
||||
|
||||
# Build deps.
|
||||
bazel_dep(name = "rules_cc", version = "0.1.1")
|
||||
|
Loading…
Reference in New Issue
Block a user