Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow renaming of files using ":" and update documentation to match #355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brendan-davidson
Copy link

@brendan-davidson brendan-davidson commented May 23, 2023

It is nice to be able to upload a renamed version to a GitHub release, and was functionality that actions/upload-release-asset had using the asset_name input. This will do a filename translation before an upload if the : is included in the name. Example usage

with:
token: ${{ secrets.TOKEN }}
tag_name: ${{ env.VERSION }}
name: Release ${{ env.VERSION }}
target_commitish: ${{ github.sha }}
files: ${{ env.NAME }}.zip:dist-${{ env.VERSION }}.zip 

@nicoandmee
Copy link

👍🏾 useful

@dtrunk90
Copy link

dtrunk90 commented Feb 3, 2024

I guess this action isn't maintained anymore. Need to check for an alternative then which provides such a feature.

@chenrui333
Copy link
Collaborator

@brendan-davidson can you fix the merge conflicts? Thanks!

@chenrui333 chenrui333 changed the title Allow renaming of files using ":" and update documentation to match feat: allow renaming of files using ":" and update documentation to match Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants