Skip to content

Cannot find files despite being there #43

@norbusan

Description

@norbusan

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/[email protected]
      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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions