AppImageCrafters / build-appimage

GitHub Action for producing AppImages
MIT License
30 stars 7 forks source link

I can build the AppImage, but uploading fails... #10

Closed hobleyd closed 12 months ago

hobleyd commented 12 months ago

I have a Flutter app being built using github-actions:

      - uses: AppImageCrafters/build-appimage@master
        with:
          recipe: "AppImageBuilder.yml"
        env:
          UPDATE_INFO: gh-releases-zsync|AppImageCrafters|appimage-demo-qt5|latest|*x86_64.AppImage.zsync
      # Upload generated dmg to the artifacts.
      - uses: actions/upload-artifact@v1
        with:
          name: Shackleton-latest-x86_64.AppImage
          path: .

but when it runs, I get:

Uploading artifact 'Shackleton-latest-x86_64.AppImage' from '/home/runner/work/shackleton/shackleton' for run #102
Associated artifact Shackleton-latest-x86_64.AppImage (7827698) with run #102
Error: Access to the path '/home/runner/work/shackleton/shackleton/appimage-build/apt/archives/partial' is denied.
Error: Exit code 1 returned from process: file name '/home/runner/runners/2.309.0/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.

I thought . for the path would be appropriate given the output is in the same folder as the AppImageBuilder.yml, but maybe I have misunderstood something?

Any help gratefully accepted :-)

hobleyd commented 12 months ago

Ignore me, I'm idiot; confused name and path.