Skip to content

Update to Dockstore API #2

Update to Dockstore API

Update to Dockstore API #2

Workflow file for this run

name: Update to Dockstore API
on: workflow_dispatch
jobs:
apiUpdate:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:devel
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Dependencies
run: Rscript -e "install.packages('yaml')"
- name: Install lucybot converter
run: npm install -g api-spec-converter
- name: Add safe directory
run: git config --global --add safe.directory /__w/AnVIL/AnVIL
- name: Download API and write MD5
run: Rscript -e "source('./inst/scripts/update_dockstore_api.R')"
- name: Commit changes
if: ${{ success() }}
uses: EndBug/add-and-commit@v9
with:
add: ["inst/service/dockstore/api.yaml", "R/Dockstore.R"]

Check failure on line 36 in .github/workflows/update_api.yml

View workflow run for this annotation

GitHub Actions / Update to Dockstore API

Invalid workflow file

The workflow is not valid. .github/workflows/update_api.yml (Line: 36, Col: 16): A sequence was not expected
message: 'Update API'
- name: Push action
uses: ad-m/github-push-action@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}