Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Publish-catpkg command fails (API?) #20

Closed
SamwiseOfCat opened this issue May 14, 2023 · 2 comments
Closed

Publish-catpkg command fails (API?) #20

SamwiseOfCat opened this issue May 14, 2023 · 2 comments
Labels
bug Something isn't working needs-more-info Needs more information to continue

Comments

@SamwiseOfCat
Copy link

Describe the bug
Publish-catpkg command fails (API?) when attempting initial release

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Initial Release'
  2. Click on 'Draft a New Release'
  3. Publish the Release
  4. ZIP files are created OK
  5. Catpkg error occurs (no .bsi created)

Expected behavior
ZIP files to be created as above, but .bsi files to also be created so online downloads through the BS tool is possible.

Screenshots
publish-catpkgerror

Device and data (please complete the following information):

  • OS: Windows 10 10.0.19044 - Build 19044
  • BattleScribe version : Data Editor 2.03.21
  • Release version : Initial Release

Additional context
Suggestion from similar errors on Stack Overflow is that the REST API does not have the priviledges to utilise the API?
My repo : https://github.com/SamwiseOfCat/NetEpic

@SamwiseOfCat SamwiseOfCat added the bug Something isn't working label May 14, 2023
@amis92 amis92 transferred this issue from BSData/TemplateDataRepo May 18, 2023
@amis92
Copy link
Member

amis92 commented May 20, 2023

@SamwiseOfCat it's probably indeed the issue of permissions. Can you chech if you have Read and write permissions set in Settings/Actions/General/Workflow permissions?

If not, try changing to it, save settings, and re-run the failed job.

If you already have that set, let me know and I'll see what more can I check.

image

@amis92 amis92 added the needs-more-info Needs more information to continue label May 20, 2023
@SamwiseOfCat
Copy link
Author

Hi @amis92 !

Changing the workflow permissions worked - see below screenshot. Thanks for your help! Can close this now...

image

@amis92 amis92 closed this as completed Apr 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working needs-more-info Needs more information to continue
Projects
None yet
Development

No branches or pull requests

2 participants