Skip to content

Update Manifest

Update Manifest #95

name: Update Manifest
on:
workflow_dispatch:
# Do not use PkgServer to make sure we have the latest registry
env:
JULIA_PKG_SERVER: ""
jobs:
update_manifest:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
with:
version: '1.7.3' # Use the version of Julia used on the build machine
arch: x64
- uses: julia-actions/cache@824243901fb567ccb490b0d0e2483ccecde46834 # v2.0.5
with:
cache-registries: "true"
cache-compiled: "true"
- name: Instantiate the manifest
shell: julia --project=.ci --color=yes {0}
run: |
using Pkg
Pkg.instantiate()
Pkg.precompile()
- name: Generate commit message
run: julia --project=.ci --color=yes .ci/update_manifest.jl
id: commit_message
- name: Show git status
run: git status
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
delete-branch: true
branch: 'gha/update-manifest'
commit-message: ${{ env.commit_message }}
title: ${{ env.commit_title }}
body: ${{ env.commit_body }}
labels: |
meta :deciduous_tree: