artifact
This commit is contained in:
1 parent
969e9612f5
commit
1ad1fb48e9
1 file changed
+4
-4
@@ -14,7 +14,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/github-script@v3.1.0
|
- uses: actions/github-script@v3.1.0
|
||||||
id: get-metadata
|
id: get-artifact
|
||||||
with:
|
with:
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
@@ -41,11 +41,11 @@ jobs:
|
|||||||
return 'no_artifact'
|
return 'no_artifact'
|
||||||
}
|
}
|
||||||
- run: unzip -d src/domdiv/card_db card_db.zip
|
- run: unzip -d src/domdiv/card_db card_db.zip
|
||||||
if: steps.get-metadata.output.result == 'found_artifact'
|
if: steps.get-artifact.outputs.result == 'found_artifact'
|
||||||
- run: rm -f card_db.zip
|
- run: rm -f card_db.zip
|
||||||
if: steps.get-metadata.output.result == 'found_artifact'
|
if: steps.get-artifact.outputs.result == 'found_artifact'
|
||||||
- name: Make PR
|
- name: Make PR
|
||||||
if: steps.get-metadata.output.result == 'found_artifact'
|
if: steps.get-artifact.output.result == 'found_artifact'
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
with:
|
with:
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
Reference in new issue
Block a user