I am trying to upload build artifacts to a release, but this action cannot find the files.
I checked in the previous step that the file is actually there. Last two parts of the steps:
- name: check
run: |
ls
echo "======"
pwd
echo "======"
ls ${{ github.workspace }}
echo "======"
- name: Release
uses: AButler/upload-release-assets@v3.0
with:
files: ${{ github.workspace }}/cafeobj-*-sbcl-*Darwin.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}
Now, the ls ${{ github.workspace }} does list a file cafeobj-1.6.1-sbcl-x64Darwin.tar.gz, which should be matched by ${{ github.workspace }}/cafeobj-*-sbcl-*Darwin.tar.gz but it isn't, I always get Error: Not found.
Are two occurrences of * supported?
I am trying to upload build artifacts to a release, but this action cannot find the files.
I checked in the previous step that the file is actually there. Last two parts of the steps:
Now, the
ls ${{ github.workspace }}does list a filecafeobj-1.6.1-sbcl-x64Darwin.tar.gz, which should be matched by${{ github.workspace }}/cafeobj-*-sbcl-*Darwin.tar.gzbut it isn't, I always getError: Not found.Are two occurrences of
*supported?