mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
Update github files/workflow from develop (#3154)
* Update github files/workflow from develop
This commit is contained in:
parent
16b1f35e7f
commit
7c587d950c
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,8 +1,8 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Report a problem with HDF5
|
||||
title: "[BUG]"
|
||||
labels: bug
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
4
.github/ISSUE_TEMPLATE/feature-request.md
vendored
4
.github/ISSUE_TEMPLATE/feature-request.md
vendored
@ -1,8 +1,8 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an improvement to HDF5
|
||||
title: "[Feature Request]"
|
||||
labels: enhancement
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
6
.github/workflows/cmake-ctest.yml
vendored
6
.github/workflows/cmake-ctest.yml
vendored
@ -113,7 +113,7 @@ jobs:
|
||||
|
||||
- name: List files for the space (Linux)
|
||||
run: |
|
||||
ls ${{ github.workspace }}
|
||||
ls -l ${{ github.workspace }}
|
||||
ls ${{ runner.workspace }}
|
||||
|
||||
- name: Uncompress source (Linux)
|
||||
@ -141,7 +141,7 @@ jobs:
|
||||
- name: List files in the space (Linux)
|
||||
run: |
|
||||
ls ${{ github.workspace }}
|
||||
ls ${{ runner.workspace }}
|
||||
ls -l ${{ runner.workspace }}
|
||||
|
||||
# Save files created by ctest script
|
||||
- name: Save published binary (Linux)
|
||||
@ -216,7 +216,7 @@ jobs:
|
||||
- name: List files in the space (MacOS)
|
||||
run: |
|
||||
ls ${{ github.workspace }}
|
||||
ls ${{ runner.workspace }}
|
||||
ls -l ${{ runner.workspace }}
|
||||
|
||||
# Save files created by ctest script
|
||||
- name: Save published binary (MacOS)
|
||||
|
5
.github/workflows/daily-build.yml
vendored
5
.github/workflows/daily-build.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
schedule:
|
||||
- cron: "6 0 * * *"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or
|
||||
# in parallel.
|
||||
jobs:
|
||||
@ -21,6 +24,8 @@ jobs:
|
||||
|
||||
call-workflow-release:
|
||||
needs: [call-workflow-tarball, call-workflow-ctest]
|
||||
permissions:
|
||||
contents: write # In order to allow tag creation
|
||||
uses: ./.github/workflows/release.yml
|
||||
with:
|
||||
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
|
||||
|
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
@ -17,6 +17,10 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
# Minimal permissions to be inherited by any job that doesn't declare its own permissions
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Previous workflows must pass to get here so tag the commit that created the files
|
||||
jobs:
|
||||
create-tag:
|
||||
@ -63,7 +67,10 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: docs-doxygen
|
||||
path: ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen
|
||||
path: ${{ github.workspace }}
|
||||
|
||||
- name: Zip Folder
|
||||
run: zip -r ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip. -i ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen
|
||||
|
||||
- name: Get tgz-tarball (Linux)
|
||||
uses: actions/download-artifact@v3
|
||||
@ -97,15 +104,30 @@ jobs:
|
||||
path: ${{ github.workspace }}
|
||||
|
||||
- name: PreRelease tag
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: "snapshot_1_14"
|
||||
prerelease: true
|
||||
files: |
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen.zip
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}.zip
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}-osx12.tar.gz
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204.tar.gz
|
||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win_vs2022.zip
|
||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||
|
||||
- name: Store Release url
|
||||
run: |
|
||||
echo "${{ steps.create_release.outputs.upload_url }}" > ./upload_url
|
||||
|
||||
# - uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# path: ./upload_url
|
||||
# name: upload_url
|
||||
|
||||
- name: List files for the space (Linux)
|
||||
run: |
|
||||
ls -l ${{ github.workspace }}
|
||||
ls ${{ runner.workspace }}
|
||||
|
2
.github/workflows/tarball.yml
vendored
2
.github/workflows/tarball.yml
vendored
@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ github.workspace }}
|
||||
ls -l ${{ github.workspace }}
|
||||
ls $GITHUB_WORKSPACE
|
||||
|
||||
# Save files created by release script
|
||||
|
Loading…
Reference in New Issue
Block a user