Coder Social home page Coder Social logo

Comments (3)

HowardWolosky avatar HowardWolosky commented on July 18, 2024 1

@ArchieCoder -- a quick search came up with this link which seems to show it being quite simple to author a GitHub Action using PowerShell: https://dfinke.github.io/powershell/2018/12/20/PowerShell-and-GitHub-Actions.html

If you just modify that entrypoint.ps1 to instead have the code I referenced above, following their directions for securely configuring your AccessToken and adding in the necessary code to reference your binary package, I think it would be fairly straightforward to make it work.

from storebroker.

HowardWolosky avatar HowardWolosky commented on July 18, 2024

Thanks for the suggestion. I don't think that there's any current planned work around publishing our own action that will do that, however it should be possible to author a custom action yourself that does that.

When working with v1, the complete set of commands necessary to perform a package update should be limited to:

$secureString = ("<Your Access Token>" | ConvertTo-SecureString -AsPlainText -Force)  # Store <YourAccessToken> via an Action variable
$cred = New-Object System.Management.Automation.PSCredential "username is ignored", $secureString
Set-StoreBrokerAuthentication -Credential $cred

New-SubmissionPackage ...
Update-ApplicationSubmission ...

Really the only work involved is configuring the action to have your AccessToken and then properly pointing it to where your package is.

from storebroker.

ArchieCoder avatar ArchieCoder commented on July 18, 2024

Yeah, doing the actual action is not an easy task. I'm in the C#/XAML world for so many years. Custom Actions are done in javascript I think.

Thanks for answering anyway!

from storebroker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.