Skip to content

Commit 19165e2

Browse files
committed
Fix CI
1 parent 6215a99 commit 19165e2

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/docker-image.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,16 @@ jobs:
2222
name: data
2323
path: nanosaur_stl.zip
2424

25-
test_read:
25+
release_stl:
26+
name: Upload release
27+
if: startsWith(github.ref, 'refs/tags/')
2628
runs-on: ubuntu-latest
2729
needs: [export]
2830
steps:
2931
- name: Extract artifact
3032
uses: actions/download-artifact@v2
3133
with:
3234
name: data
33-
- name: read data
34-
run: |
35-
ls
36-
cd data
37-
ls
38-
39-
release_stl:
40-
name: Upload release
41-
if: startsWith(github.ref, 'refs/tags/')
42-
runs-on: ubuntu-latest
43-
needs: [export]
44-
steps:
45-
- name: Checkout code
46-
uses: actions/checkout@v2
47-
- name: Build project # This would actually build your project, using zip for an example artifact
48-
run: |
49-
bash nanosaur_description/scripts/nanosaur_stl.sh
5035
- name: Create Release
5136
id: create_release
5237
uses: actions/create-release@v1
@@ -72,6 +57,7 @@ jobs:
7257
name: "Deploy Docker image"
7358
if: startsWith(github.ref, 'refs/tags/')
7459
runs-on: ubuntu-latest #self-hosted
60+
needs: [export]
7561
steps:
7662
- name: Checkout
7763
uses: actions/checkout@v2

0 commit comments

Comments
 (0)