mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Improve release workflow (#4406)
This commit is contained in:
parent
a2476fdf0a
commit
03c9d77fb5
5
.github/workflows/release-files.yml
vendored
5
.github/workflows/release-files.yml
vendored
@ -43,15 +43,16 @@ jobs:
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: '${{ github.head_ref || github.ref_name }}'
|
||||
|
||||
- uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72 # v1.7.2
|
||||
id: "tag_create"
|
||||
with:
|
||||
commit_sha: ${{ inputs.file_sha }}
|
||||
tag: "${{ inputs.use_tag }}"
|
||||
force_push_tag: true
|
||||
force_push_tag: false
|
||||
tag_exists_error: false
|
||||
message: "Latest snapshot-1.14"
|
||||
if: ${{ inputs.use_environ == 'snapshots' }}
|
||||
|
||||
# Print result using the action output.
|
||||
- run: |
|
||||
|
1
.github/workflows/tarball.yml
vendored
1
.github/workflows/tarball.yml
vendored
@ -90,6 +90,7 @@ jobs:
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: hdfsrc
|
||||
ref: '${{needs.check_commits.outputs.branch_ref }}'
|
||||
|
||||
- name: Install Autotools Dependencies (Linux, serial)
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user