minor formatting #1
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
name: Test artifact action | ||
on: [push] | ||
jobs: | ||
custom_test: | ||
runs-on: ubuntu-latest | ||
name: Test Dataverse Action | ||
env: | ||
PORT: 8080 | ||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
- name: Run Dataverse Action | ||
id: dataverse | ||
uses: ./ | ||
with: | ||
image_tag: "burritohasbeeneaten" | ||
postgresql_version: 15 | ||
jvm_options: | | ||
dataverse.api.signature-secret=eikaizieb2Oghaex | ||
dataverse.pid.datacite.rest-api-url=https://api.datacite.org | ||
- name: Check artifact | ||
id: artifact-check | ||
if: ${{ failure(steps.dataverse) }} | ||
Check failure on line 24 in .github/workflows/test-artifact.yml GitHub Actions / Test artifact actionInvalid workflow file
|
||
uses: xSAVIKx/artifact-exists-action@v0 | ||
with: | ||
name: "logs.tgz" | ||
- name: Set GitHub Action as success if "dataverse" has failed | ||
if: ${{ success(steps.artifact-check) }} | ||
run: exit 0 |