diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index e07d2ab..ecd7e18 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -30,7 +30,7 @@ jobs: # Create a zip file with all files required by the module to add to the release - run: zip -r ./module.zip module.json src - - run: echo "Files- $(ls -la)" + - run: echo "Files- $(ls -la ${{ github.workspace }})" - run: echo "secret- `${{ secrets.TEST }}`" # Create a release for this specific version @@ -43,7 +43,7 @@ jobs: draft: ${{ github.event.release.unpublished }} prerelease: ${{ github.event.release.prerelease }} token: ${{ secrets.GITHUB_TOKEN }} - artifacts: './module.json, ./module.zip' + artifacts: '${{ github.workspace }}/module.json, ${{ github.workspace }}/module.zip' tag: ${{ github.event.release.tag_name }} body: ${{ github.event.release.body }} title: ${{ github.event.release.tag_name }} \ No newline at end of file