forked from JuliaPackaging/Yggdrasil
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (43 loc) · 1.46 KB
/
update_manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: julia-actions/setup-julia@b315a4d9881690c63d53fc0175b150a3776140bd # v1.9.0
with:
version: '1.7.3' # Use the version of Julia used on the build machine
arch: x64
- uses: julia-actions/cache@6bbc93575c5ecf24ce645aa411bd09194de38019 # v1.2.0
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@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3
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: