Skip to content

Commit

Permalink
Update get-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha authored Jan 4, 2024
1 parent d794331 commit 47791bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/get-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
- name: Print release upload URL
run: echo "Upload URL is ${{ steps.get-release-info.outputs.result }}"
- name: Create dummy test.txt
run: echo "This is a test file" > ./test.txt
run: echo "This is a test file" > ./test.zip
- name: Upload node Image to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get-release-info.outputs.result }}
asset_path: ./test.txt
asset_name: test.txt
asset_content_type: application/octet-stream
asset_path: ./test.zip
asset_name: test.zip
asset_content_type: application/zip

0 comments on commit 47791bf

Please sign in to comment.