Skip to content

Commit

Permalink
Let's maintain 0.5-DRAFT now
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Sep 15, 2023
1 parent 35b0fc5 commit 55b85af
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/20-ro-crate-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,34 @@ jobs:
- name: RO Crate Preview for Profile Crate
uses: ResearchObject/ro-crate-preview-action@v1.3.0
with:
crate_path: 0.4
crate_path: 0.5-DRAFT

- name: RO Crate Preview for Example Request
uses: ResearchObject/ro-crate-preview-action@v1.3.0
with:
crate_path: 0.4/example-request/data
crate_path: 0.5-DRAFT/example-request/data

- name: RO Crate Preview for Example Result
uses: ResearchObject/ro-crate-preview-action@v1.3.0
with:
crate_path: 0.4/example-result/data
crate_path: 0.5-DRAFT/example-result/data


- name: RO Crate Preview for Example Hutch
uses: ResearchObject/ro-crate-preview-action@v1.3.0
with:
crate_path: 0.4/example-hutch/data
crate_path: 0.5-DRAFT/example-hutch/data

- name: Commit RO Crate Preview
uses: swinton/commit@v2.0.0
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
0.4/ro-crate-preview.html
0.4/example-request/data/ro-crate-preview.html
0.4/example-result/data/ro-crate-preview.html
0.4/example-hutch/data/ro-crate-preview.html
0.5-DRAFT/ro-crate-preview.html
0.5-DRAFT/example-request/data/ro-crate-preview.html
0.5-DRAFT/example-result/data/ro-crate-preview.html
0.5-DRAFT/example-hutch/data/ro-crate-preview.html
commit-message: |
Updated RO-Crate preview
- name: Get new git commit
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/80-bagit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,28 @@ jobs:
uses: actions/checkout@v3

- name: Create BagIt manifest for Example Request
working-directory: 0.4/example-request
working-directory: 0.5-DRAFT/example-request
run: |
rm -f manifest*txt tagmanifest*txt
sha512sum `find data -type f` > manifest-sha512.txt
sha512sum bag-info.txt bagit.txt manifest-sha512.txt > tagmanifest-sha512.txt
- name: Create BagIt manifest for Example Result
working-directory: 0.4/example-result
working-directory: 0.5-DRAFT/example-result
run: |
rm -f manifest*txt tagmanifest*txt
sha512sum `find data -type f` > manifest-sha512.txt
sha512sum bag-info.txt bagit.txt manifest-sha512.txt > tagmanifest-sha512.txt
- name: Create BagIt manifest for Example Hutch
working-directory: 0.4/example-hutch
working-directory: 0.5-DRAFT/example-hutch
run: |
rm -f manifest*txt tagmanifest*txt
sha512sum `find data -type f` > manifest-sha512.txt
sha512sum bag-info.txt bagit.txt manifest-sha512.txt > tagmanifest-sha512.txt
- name: Archive BagIts as ZIP
working-directory: 0.4/
working-directory: 0.5-DRAFT/
run: |
rm -f *.zip
zip -r example-request.bagit.zip example-request/
Expand All @@ -55,12 +55,12 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
0.4/example-request/manifest-sha512.txt
0.4/example-request/tagmanifest-sha512.txt
0.4/example-result/manifest-sha512.txt
0.4/example-result/tagmanifest-sha512.txt
0.4/example-request.bagit.zip
0.4/example-result.bagit.zip
0.5-DRAFT/example-request/manifest-sha512.txt
0.5-DRAFT/example-request/tagmanifest-sha512.txt
0.5-DRAFT/example-result/manifest-sha512.txt
0.5-DRAFT/example-result/tagmanifest-sha512.txt
0.5-DRAFT/example-request.bagit.zip
0.5-DRAFT/example-result.bagit.zip
commit-message: |
Updated BagIt manifests
Expand Down

0 comments on commit 55b85af

Please sign in to comment.