Skip to content

Commit

Permalink
chore: another try #9
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed Aug 16, 2024
1 parent f98352f commit 1fb0154
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ jobs:
- name: Get short commit hash
run: |
echo "COMMIT_HASH=${GITHUB_SHA::7}" >> $GITHUB_ENV
echo "::set-output name=COMMIT_HASH::${COMMIT_HASH}"
- name: Set build number
run: echo "BUILD_NUMBER=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
Expand Down Expand Up @@ -123,6 +122,7 @@ jobs:
name: cloud-agent-openapi-spec-${{ env.OAS_CHECKSUM}}
path: ./cloud-agent-openapi-spec-${{ env.REVISION_VERSION}}.yaml
overwrite: true
compression-level: 0

- name: Set outputs
id: set_outputs
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,18 @@ jobs:
uses: actions/download-artifact@v3
with:
name: cloud-agent-openapi-spec-${{ inputs.check_sum }}
path: ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml
path: ./cloud-agent/service/api/http

- name: WTF
working-directory: cloud-agent/service/api/http
run: |
echo "Current directory: $(pwd)"
ls -la ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml
cat ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml
ls -la
echo "----"
mv cloud-agent-openapi-spec-${{ inputs.revision }}.yaml cloud-agent-openapi-spec.yaml
echo "----"
ls -la
cat cloud-agent-openapi-spec.yaml
- name: Set revision version
if: ${{ !inputs.releaseTag }}
Expand Down

0 comments on commit 1fb0154

Please sign in to comment.