Description:
I think that the home directory cannot be accessed via ~. It does not fail, but cannot find the files that obviously should be there.
To Reproduce:
- Checkout repository with a file.
- Move the file to
~.
- Try to upload it using this action.
Example Github Action:
name: Ubuntu
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Move file
run: mv ./README.md ~/README.md
- name: Create release artifact
uses: softprops/action-gh-release@v1
with:
files: ~/README.md
tag_name: issue
token: ${{ secrets.GITHUB_TOKEN }}
Expected behavior:
The file from home directory is uploaded to the release.
Additional Info:
Description:
I think that the home directory cannot be accessed via
~. It does not fail, but cannot find the files that obviously should be there.To Reproduce:
~.Example Github Action:
Expected behavior:
The file from home directory is uploaded to the release.
Additional Info: