From 073771eaecd45b4f6bb8bee39744a13fae67dcc9 Mon Sep 17 00:00:00 2001 From: Sam Gamble Date: Thu, 12 Sep 2024 15:06:36 +0100 Subject: [PATCH] Fix --- .github/workflows/build.yml | 5 ++++- .github/workflows/publish.yml | 8 ++++---- .github/workflows/test.yml | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d9e74b1..5c188a05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 15b6f5b3..e9e53f51 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f6f6659..2d1907ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}