generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
58 lines (46 loc) · 1.01 KB
/
test-action-run.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
name: Test running setup-licensed
permissions:
contents: read
on:
pull_request:
types:
- opened
- reopened
- synchronize
# run on demand
workflow_dispatch:
jobs:
gem:
runs-on: ubuntu-latest
steps:
# checkout the repo
- uses: actions/checkout@v4
# install ruby
- uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf
with:
bundler-cache: 'true'
ruby-version: "3.0"
# install node
- uses: actions/setup-node@v4
with:
node-version: "18.x"
# run the action
- name: Run setup-licensed
uses: ./
with:
version: '4.x'
exe:
runs-on: ubuntu-latest
steps:
# checkout the repo
- uses: actions/checkout@v4
# do not install ruby
# install node
- uses: actions/setup-node@v4
with:
node-version: "18.x"
# run the action
- name: Run setup-licensed
uses: ./
with:
version: '3.x'