diff --git a/.github/workflows/buid_and_release.yml b/.github/workflows/buid_and_release.yml index a75108d..3a61b43 100644 --- a/.github/workflows/buid_and_release.yml +++ b/.github/workflows/buid_and_release.yml @@ -13,15 +13,18 @@ on: jobs: build_and_release: runs-on: ubuntu-latest +# container: obolibrary/odkfull:v1.4.1 +# container: obolibrary/odkfull:dev + container: obolibrary/odkfull:latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 - with: - python-version: '3.10' +# - name: Set up Python 3.10 +# uses: actions/setup-python@v2 +# with: +# python-version: '3.10' - name: Install +# python -m pip install --upgrade pip run: | - python -m pip install --upgrade pip make install - name: Create .env file run: | @@ -34,20 +37,21 @@ jobs: # utcOffset: "+08:00" format: YYYY-MM-DD - name: build - run: make automated-release-artefacts -B + run: make all + + - name: Release run: echo Uploading files as new release. # This one wouldn't work unless it was a tag and on-push. # uses: softprops/action-gh-release@v1 -# - name: Release - uses: "marvinpinto/action-automatic-releases@latest" with: # Apparently, GITHUB_TOKEN is auto-created: https://dev.to/github/the-githubtoken-in-github-actions-how-it-works-change-permissions-customizations-3cgp # ...even though I don't see it here: https://github.com/monarch-initiative/omim/settings/secrets/actions repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "${{ steps.current-time.outputs.formattedTime }}" -# title: "My Title" + title: "${{ steps.current-time.outputs.formattedTime }}" prerelease: false files: | omim.ttl -# omim.sssom.tsv + omim.sssom.tsv diff --git a/makefile b/makefile index 7e21b67..81e856e 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -.PHONY: all help install test scrape get-pmids automated-release cleanup +.PHONY: all help install test scrape get-pmids automated-release-artefacts cleanup # MAIN COMMANDS / GOALS ------------------------------------------------------------------------------------------------