Skip to content

Commit 3e2b402

Browse files
Support ec2 storage
Kudos to lamebert in https://github.com/lamebear/ec2-github-runner
1 parent cd07fa6 commit 3e2b402

File tree

6 files changed

+560
-505
lines changed

6 files changed

+560
-505
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
ref: main
1818

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Cache dependencies
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: '**/node_modules'
1717
key: ec2-github-runner-${{ hashFiles('**/package-lock.json') }}

action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: On-demand self-hosted AWS EC2 runner for GitHub Actions
22
description: GitHub Action for automatic creation and registration AWS EC2 instance as a GitHub Actions self-hosted runner.
3-
author: Volodymyr Machula
3+
author: Matthias Gubler
44
branding:
55
icon: 'box'
66
color: 'orange'
@@ -69,6 +69,15 @@ inputs:
6969
description: >-
7070
Specifies bash commands to run before the runner starts. It's useful for installing dependencies with apt-get, yum, dnf, etc.
7171
required: false
72+
ec2-volume-size:
73+
description: >-
74+
Defines the size of the EC2 Volume in GB, will use the AMI default if not provided
75+
required: false
76+
ec2-volume-identifier:
77+
description: >-
78+
Specifies the name of the EC2 Volume in the AMI.
79+
This input is required when specifying the volume size.
80+
required: false
7281
market-type:
7382
description: >-
7483
Specifies the market (purchasing) option for the instance:

0 commit comments

Comments
 (0)