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

Cannot find files despite being there #43

Open
norbusan opened this issue Sep 17, 2024 · 0 comments
Open

Cannot find files despite being there #43

norbusan opened this issue Sep 17, 2024 · 0 comments

Comments

@norbusan
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant