Skip to content

Commit

Permalink
fix: updated CI to zip service.yaml�[D�[D�[D�[D�[D�[D�[D�[D�[D�[D�[D�…
Browse files Browse the repository at this point in the history
…[D�[D�[D�[D�[D�[D
  • Loading branch information
maxgallup committed Apr 7, 2024
1 parent 317ed4b commit ff258f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:

- name: Set REPO_NAME environment variable
run: echo "REPO_NAME=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)" >> $GITHUB_ENV

- name: Zip binary and service.yaml
run: zip ${{ env.REPO_NAME }}.zip -j ./bin/${{ env.REPO_NAME }} service.yaml

- name: Get release
id: get_release
Expand All @@ -33,6 +36,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./bin/${{ env.REPO_NAME }}
asset_name: ${{ env.REPO_NAME }}
asset_path: ${{ env.REPO_NAME }}.zip
asset_name: ${{ env.REPO_NAME }}.zip
asset_content_type: application/zip

0 comments on commit ff258f0

Please sign in to comment.