Skip to content

Commit

Permalink
artefacts names
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Jun 11, 2024
1 parent 18c99ca commit db50abe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/convert-to-heta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Upload entire directory as artifact
uses: actions/upload-artifact@v2
with:
name: result-files
name: result
path: result/

prepare-heta:
Expand All @@ -49,11 +49,17 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v2
with:
name: result-files
name: result

- name: Create directory
run: |
mkdir -p result/heta
bash ./bash/make-heta.sh
- name: Upload entire directory as artifact
uses: actions/upload-artifact@v2
with:
name: result
path: result/

commit-to-result:
runs-on: ubuntu-latest
Expand All @@ -63,7 +69,7 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v2
with:
name: result-files
name: result

- name: copy static
run: |
Expand Down
7 changes: 7 additions & 0 deletions bash/make-heta.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

base_dir="result/heta"

echo Create of file structure
mkdir -p $base_dir
rm -rf $base_dir/*

0 comments on commit db50abe

Please sign in to comment.