New version: MITgcm v0.4.5 #94101
Workflow file for this run
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: TagBot Triggers | |
on: | |
pull_request: | |
types: | |
- closed | |
schedule: | |
- cron: 0 */4 * * * | |
workflow_dispatch: | |
jobs: | |
trigger: | |
timeout-minutes: 30 | |
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.3.0 | |
- name: Cache artifacts | |
uses: julia-actions/cache@580d2b69d895343992af2cbad49c32a0149c2cde # v2.0.1 | |
- run: write(ENV["GITHUB_OUTPUT"], "manifest_version=$(VERSION.major).$(VERSION.minor)") | |
shell: julia --color=yes --project=.ci/ {0} | |
id: manifest_version | |
- run: echo "The manifest is .ci/Manifest.${{ steps.manifest_version.outputs.manifest_version }}.toml" | |
- run: rm -rf .ci/Manifest.toml | |
- run: mv .ci/Manifest.${{ steps.manifest_version.outputs.manifest_version }}.toml .ci/Manifest.toml | |
- run: rm -rf .ci/Manifest.*.toml | |
- run: chmod 400 .ci/Project.toml | |
- run: chmod 400 .ci/Manifest.toml | |
- run: julia --color=yes -e 'import Pkg; Pkg.Registry.add("General")' | |
env: | |
JULIA_PKG_SERVER: "" | |
- run: julia --color=yes -e 'import Pkg; Pkg.Registry.update()' | |
- run: .ci/instantiate.sh | |
- run: julia --color=yes --project=.ci/ -e 'import Pkg; Pkg.precompile()' | |
- run: julia --color=yes --project=.ci/ -e 'using RegistryCI.TagBot; TagBot.main()' | |
env: | |
GITHUB_TOKEN: ${{ secrets.TAGBOT_TOKEN }} |