Make sure b.storage defaults to thunk if not sync or local #55
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: Pytest | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: GitHub Script | |
uses: actions/[email protected] | |
with: | |
# The script to run | |
script: | | |
const shortSHA = context.sha.substring(0, 7); | |
const date = new Date().toISOString().split('T')[0]; // Gets date in YYYY-MM-DD format | |
const formattedDate = date.replace(/-/g, '.'); // Replaces '-' with '.' | |
const tagName = `${formattedDate}-${shortSHA}`; | |
github.rest.git.createRef({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
ref: `refs/tags/${tagName}`, | |
sha: context.sha | |
}) |