-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master Usersguide and package jars changes (#297)
- Loading branch information
Showing
141 changed files
with
239 additions
and
914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: hdfview 1.14 publishrelease | ||
|
||
# Triggers the workflow on demand | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
use_tag: | ||
description: 'HDFView Release version tag' | ||
type: string | ||
required: true | ||
target_dir: | ||
description: 'HDFView target bucket directory' | ||
type: string | ||
required: true | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
publish-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Get Sources | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
fetch-depth: 0 | ||
ref: '${{ github.head_ref || github.ref_name }}' | ||
|
||
- name: Get hdfview release | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdfview' | ||
version: 'tags/${{ inputs.use_tag }}' | ||
regex: true | ||
target: 'HDFVIEW/' | ||
file: '${{ inputs.use_hdf }}-*.*' | ||
|
||
- name: Get hdfview release UG | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdfview' | ||
version: 'tags/${{ inputs.use_tag }}' | ||
regex: true | ||
target: 'HDFVIEW/' | ||
file: 'UsersGuide.*' | ||
|
||
- name: Setup AWS CLI | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- name: Sync release to S3 bucket | ||
run: | | ||
aws s3 sync ./HDFVIEW s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }}/downloads --delete | ||
- name: Uncompress source (Linux) | ||
run: tar -zxvf ${{ github.workspace }}/UsersGuide.tar.gz | ||
|
||
- name: Sync userguide to S3 bucket | ||
run: | | ||
aws s3 sync ./UsersGuide s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }}/documentation --delete | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: hdfview 1_14 release build | ||
|
||
# Triggers the workflow on demand | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.