Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrywu authored Nov 17, 2021
1 parent 8b2eed9 commit f1474de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.branch.outputs.branch }}-${{ steps.date.outputs.date }}
release_name: ${{ steps.branch.outputs.branch }}-${{ steps.date.outputs.date }}
tag_name: ${{ steps.repository_name.outputs.repository_name }}-${{ steps.branch.outputs.branch }}-${{ steps.date.outputs.date }}
release_name: ${{ steps.repository_name.outputs.repository_name }}-${{ steps.branch.outputs.branch }}-${{ steps.date.outputs.date }}
draft: false
prerelease: false

Expand All @@ -60,7 +60,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ${{ github.workspace }}/a.out
asset_name: ${{ steps.repository_name.outputs.repository_name }}-${{ steps.branch.outputs.branch }}
asset_name: ${{ steps.repository_name.outputs.repository_name }}-${{ steps.branch.outputs.branch }}-${{ steps.date.outputs.date }}
asset_content_type: application/octet-stream

- name: Send mail
Expand Down

0 comments on commit f1474de

Please sign in to comment.