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

DeliverToStorage - override #453

Closed
pzentner opened this issue Mar 24, 2023 · 1 comment
Closed

DeliverToStorage - override #453

pzentner opened this issue Mar 24, 2023 · 1 comment
Labels
bug Something isn't working Fix Ready Fix Ready Shipped Feature is included in the latest version

Comments

@pzentner
Copy link
Contributor

pzentner commented Mar 24, 2023

When creating an override for DeliverToStorage by adding a "DeliverToStorage.ps1" into the .github folder, you are running into an error in the CI/CD initialization. This is in the preview version.

Error message:

Error: ReadSecrets action failed. Error: Item has already been added. Key in dictionary: 'StorageContext'  
Key being added: 'StorageContext' Stacktrace: at <ScriptBlock>, C:\github-01-1\_work\_actions\microsoft\AL-Go-
Actions\preview\ReadSecrets\ReadSecrets.ps1: line 86 at <ScriptBlock>, C:\github-01-1\_work\_actions\microsoft\AL-Go-
Actions\preview\ReadSecrets\ReadSecrets.ps1: line 59 at <ScriptBlock>, C:\github-01-1\_work\_temp\a64181d5-950e-4bca-
80cc-3c2a9cf0e60f.ps1: line 2 at <ScriptBlock>, <No file>: line 1

As soon as you remove the override, the error goes away.

@freddydk freddydk added the bug Something isn't working label Apr 4, 2023
freddydk added a commit to freddydk/AL-Go that referenced this issue Apr 26, 2023
@freddydk freddydk mentioned this issue Apr 26, 2023
@freddydk freddydk added the Fix Ready Fix Ready label Apr 26, 2023
freddydk added a commit that referenced this issue Apr 27, 2023
@freddydk freddydk added the Shipped Feature is included in the latest version label May 15, 2023
@freddydk
Copy link
Collaborator

Shipped in v3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fix Ready Fix Ready Shipped Feature is included in the latest version
Projects
None yet
Development

No branches or pull requests

2 participants