-
Notifications
You must be signed in to change notification settings - Fork 7
110 lines (102 loc) · 3.45 KB
/
apps-config.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
on:
workflow_call:
# inputs:
# r-version:
# type: string
# default: release
# required: false
outputs:
# NOTE: Update badges and table in README when changing runner OS versions
macos:
description: macos OS value
# https://github.com/rstudio/shiny-workflows/blob/fdfacec40c723210c92a287dcb67cdf7f5d621ef/.github/workflows/R-CMD-check.yaml#L23
value: "macos-latest"
windows:
description: windows OS value
value: "windows-latest"
ubuntu:
description: ubuntu OS value
value: "ubuntu-latest"
cache-version:
description: cache-version to be used when pulling library cache
value: "5"
devel:
description: Resolved r devel version
# When R 4.3 was released, R version 4.4.0 was not recognized.
# However, `"devel"` is recognized within `r-lib/actions/setup-r`.
value: "devel"
# value: ${{ jobs.config.outputs.devel }}
release:
description: Resolved r release version
value: ${{ jobs.config.outputs.release }}
oldrel1:
description: Resolved r oldrel-1 version
value: ${{ jobs.config.outputs.oldrel1 }}
oldrel2:
description: Resolved r oldrel-2 version
value: ${{ jobs.config.outputs.oldrel2 }}
oldrel3:
description: Resolved r oldrel-3 version
value: ${{ jobs.config.outputs.oldrel3 }}
oldrel4:
description: Resolved r oldrel-4 version
value: ${{ jobs.config.outputs.oldrel4 }}
name: Config
jobs:
config:
name: Config
runs-on: ubuntu-latest
outputs:
# devel: ${{ steps.devel.outputs.installed-r-version }}
release: ${{ steps.release.outputs.installed-r-version }}
oldrel1: ${{ steps.oldrel-1.outputs.installed-r-version }}
oldrel2: ${{ steps.oldrel-2.outputs.installed-r-version }}
oldrel3: ${{ steps.oldrel-3.outputs.installed-r-version }}
oldrel4: ${{ steps.oldrel-4.outputs.installed-r-version }}
steps:
# - name: devel
# id: devel
# uses: r-lib/actions/setup-r@v2
# with:
# r-version: devel
# install-r: false
- name: release
id: release
uses: r-lib/actions/setup-r@v2
with:
r-version: release
install-r: false
- name: oldrel-1
id: oldrel-1
uses: r-lib/actions/setup-r@v2
with:
r-version: oldrel-1
install-r: false
- name: oldrel-2
id: oldrel-2
uses: r-lib/actions/setup-r@v2
with:
r-version: oldrel-2
install-r: false
- name: oldrel-3
id: oldrel-3
uses: r-lib/actions/setup-r@v2
with:
r-version: oldrel-3
install-r: false
- name: oldrel-4
id: oldrel-4
uses: r-lib/actions/setup-r@v2
with:
r-version: oldrel-4
install-r: false
- name: Display Outputs
id: set_versions
run: |
# echo "devel: ${{ steps.devel.outputs.installed-r-version }}"
echo "devel: devel"
echo "release: ${{ steps.release.outputs.installed-r-version }}"
echo "oldrel1: ${{ steps.oldrel-1.outputs.installed-r-version }}"
echo "oldrel2: ${{ steps.oldrel-2.outputs.installed-r-version }}"
echo "oldrel3: ${{ steps.oldrel-3.outputs.installed-r-version }}"
echo "oldrel4: ${{ steps.oldrel-4.outputs.installed-r-version }}"