Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Sep 12, 2024
1 parent 555cb32 commit 073771e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ on:
required: false
type: string
outputs:
spec_filename:
json_filename:
description: "OED JSON specification"
value: ${{ jobs.build.outputs.oed_json_spec }}
excel_filename:
description: "OED EXCEL specification"
value: ${{ jobs.build.outputs.oed_excel_spec }}

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/${{ needs.build.outputs.oed_json_spec }}
asset_name: ${{ needs.build.outputs.oed_json_spec }}
asset_path: ${{ github.workspace }}/${{ needs.build.outputs.json_filename }}
asset_name: ${{ needs.build.outputs.json_filename }}
asset_content_type: application/octet-stream

- name: Upload EXCEL Spec
Expand All @@ -153,8 +153,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/${{ needs.build.outputs.oed_excel_spec }}
asset_name: ${{ needs.build.outputs.oed_excel_spec }}
asset_path: ${{ github.workspace }}/${{ needs.build.outputs.excel_filename }}
asset_name: ${{ needs.build.outputs.excel_filename }}
asset_content_type: application/octet-stream


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: OasisLMF/ODS_Tools/.github/workflows/build.yml@main
secrets: inherit
with:
oed_spec_json: ${{ needs.build_spec.outputs.spec_filename }}
oed_spec_json: ${{ needs.build_spec.outputs.json_filename }}
ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_tools_branch }}


Expand Down

0 comments on commit 073771e

Please sign in to comment.