File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- - name : Build the Docker image
17
+ - name : Build the Docker test image
18
18
run : docker-compose build test
19
19
- name : Run tests
20
20
run : docker-compose run --rm test
Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ jobs:
14
14
uses : ./.github/workflows/build.yml
15
15
deploy :
16
16
name : Deploy rock to luarocks.org
17
+ env :
18
+ LUA_ROCKS_API_KEY : ${{ secrets.LUA_ROCKS_API_KEY }}
17
19
needs : [ build ] # build must pass to deploy
18
20
runs-on : ubuntu-latest
19
21
20
22
steps :
21
23
- uses : actions/checkout@v4
22
- - name : Deploy to luarocks.org
24
+ - name : Build the Docker luarocks upload image
23
25
run : docker-compose build upload
24
- env :
25
- LUA_ROCKS_API_KEY : ${{ secrets.LUA_ROCKS_API_KEY }}
26
+ - name : Deploy to luarocks.org
27
+ run : docker-compose run --rm upload
You can’t perform that action at this time.
0 commit comments