Skip to content

Commit

Permalink
upload config file to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
amritanshu-pandey committed Sep 22, 2022
1 parent 22a7bef commit 7eef8f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,14 @@ jobs:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: ./target/release/${{ matrix.asset_name }}
asset_name: ${{ matrix.asset_name }}
asset_content_type: application/tar+gzip
asset_content_type: application/tar+gzip
- name: upload example config file
id: upload-release-assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: ./example/fakejson.yaml
asset_name: config.yaml
asset_content_type: application/text
File renamed without changes.

0 comments on commit 7eef8f3

Please sign in to comment.