Skip to content

Commit

Permalink
CI: Name of release updated to YYYY-MM-DD
Browse files Browse the repository at this point in the history
  • Loading branch information
joeflack4 committed Jan 20, 2023
1 parent cb561a5 commit 7f09a18
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/buid_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
- name: Create .env file
run: |
echo -en "API_KEY=${{ secrets.API_KEY }}" > .env
- name: Get current time
uses: josStorer/[email protected]
id: current-time
with:
# format: YYYYMMDD-HH
# utcOffset: "+08:00"
format: YYYY-MM-DD
- name: Build
run: |
make build
Expand All @@ -36,7 +43,7 @@ jobs:
# 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: "latest"
automatic_release_tag: "${{ steps.current-time.outputs.formattedTime }}"
# title: "My Title"
prerelease: false
files: |
Expand Down

0 comments on commit 7f09a18

Please sign in to comment.