update runners #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 | |
on: | |
pull_request: {} #<--- test | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
permissions: | |
packages: write | |
contents: read | |
attestations: write | |
id-token: write | |
jobs: | |
get-latest-releases: | |
runs-on: linux-ubuntu-latest | |
steps: | |
- name: Fetch latest release for Foundry | |
id: foundry_release | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const response = await github.rest.repos.getLatestRelease({ | |
owner: 'mosaicml', | |
repo: 'llm-foundry', | |
}); | |
return response.data.tag_name; |