Skip to content

Commit ea11770

Browse files
authored
fix: publish step should take rockspec inputs (#85)
1 parent 929253b commit ea11770

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/manual-publish-docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Build and Test
15-
uses: ./.github/actions/ci
16-
1714
- name: Build documentation
1815
uses: ./.github/actions/build-docs
1916

.github/workflows/release-please.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ jobs:
7878
ssm_parameter_pairs: '/production/common/releasing/luarocks/token = LUAROCKS_API_TOKEN'
7979
- uses: ./.github/actions/ci
8080
with:
81-
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).server }}
81+
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).server.rockspec }}
8282
- uses: ./.github/actions/publish
8383
name: Publish server package
8484
with:
8585
dry_run: 'false'
86-
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).server }}
86+
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).server.rockspec }}
8787

8888
publish-redis:
8989
permissions: # Needed for access to the LuaRocks token
@@ -100,9 +100,9 @@ jobs:
100100
ssm_parameter_pairs: '/production/common/releasing/luarocks/token = LUAROCKS_API_TOKEN'
101101
- uses: ./.github/actions/ci
102102
with:
103-
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).redis }}
103+
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).redis.rockspec }}
104104
- uses: ./.github/actions/publish
105105
name: Publish redis package
106106
with:
107107
dry_run: 'false'
108-
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).redis }}
108+
rockspec: ${{ fromJSON(needs.rockspec-info.outputs.info).redis.rockspec }}

.github/workflows/rockspec-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Fetch release please manifest
1717
id: manifest
1818
run: |
19-
version=$(jq '."."' < .release-please-manifest.json)
19+
version=$(jq --raw-output '."."' < .release-please-manifest.json)
2020
echo "version=$version" >> $GITHUB_OUTPUT
2121
- name: Construct rockspec package names
2222
id: pkg-info

0 commit comments

Comments
 (0)