Skip to content

Commit e1496d0

Browse files
committed
Move env
1 parent 3840fbc commit e1496d0

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,6 @@ jobs:
2323
image: memcached
2424
ports: ["11211:11211"]
2525

26-
env:
27-
RAILS_UPGRADE: 1
28-
DATABASE_URL: mysql2://root@127.0.0.1:3306/rails_upgrade
29-
MYSQL_HOST: 127.0.0.1
30-
MYSQL_PORT: 3306
31-
MYSQL_USER: root
32-
REDIS_URL: redis://localhost:6379/0
33-
REDIS_HOST: localhost
34-
REDIS_PORT: 6379
35-
TOXIPROXY_URL: http://127.0.0.1:8474
36-
TOXIPROXY_HOST: 127.0.0.1
37-
TOXIPROXY_PORT: 8474
38-
DISABLE_TOXIPROXY: 1
39-
MEMCACHE_SERVERS: localhost:11211
40-
4126
steps:
4227
- name: Test something
4328
uses: shopify-playground/edouard-github-action@main

action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,21 @@ inputs:
1515
description: 'The workflow to run. Can either be set to "dump-config" or "run-upgrade".'
1616
required: true
1717

18+
env:
19+
RAILS_UPGRADE: 1
20+
DATABASE_URL: mysql2://root@127.0.0.1:3306/rails_upgrade
21+
MYSQL_HOST: 127.0.0.1
22+
MYSQL_PORT: 3306
23+
MYSQL_USER: root
24+
REDIS_URL: redis://localhost:6379/0
25+
REDIS_HOST: localhost
26+
REDIS_PORT: 6379
27+
TOXIPROXY_URL: http://127.0.0.1:8474
28+
TOXIPROXY_HOST: 127.0.0.1
29+
TOXIPROXY_PORT: 8474
30+
DISABLE_TOXIPROXY: 1
31+
MEMCACHE_SERVERS: localhost:11211
32+
1833
runs:
1934
using: "composite"
2035
steps:

0 commit comments

Comments
 (0)