Skip to content

Commit 054dea3

Browse files
committed
Update workflows
Signed-off-by: Manoel Campos <[email protected]>
1 parent c8a93ad commit 054dea3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Build the Docker image
17+
- name: Build the Docker test image
1818
run: docker-compose build test
1919
- name: Run tests
2020
run: docker-compose run --rm test

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
uses: ./.github/workflows/build.yml
1515
deploy:
1616
name: Deploy rock to luarocks.org
17+
env:
18+
LUA_ROCKS_API_KEY: ${{ secrets.LUA_ROCKS_API_KEY }}
1719
needs: [ build ] # build must pass to deploy
1820
runs-on: ubuntu-latest
1921

2022
steps:
2123
- uses: actions/checkout@v4
22-
- name: Deploy to luarocks.org
24+
- name: Build the Docker luarocks upload image
2325
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

0 commit comments

Comments
 (0)