Comments (5)
Hi @fleed Actions already support powershell script by just changing the shell type.
- name: Run powershell
shell: pwsh
run: |
.\build.ps1
On windows, the default is already pwsh
so you wont even need to specify that.
from cli.
@t-dedah could you please provide an example with az
commands?
Would it automatically login?
from cli.
Hi @fleed for login we have another action that you can use
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
If you can expand more on the exact requirement then we will be able to provide the exact workflow.
from cli.
Thank you @t-dedah
In general I'm using PowerShell for all my scripts, so I would like to run some scripts with az
commands.
Executing the login as separate action should make it possible, I will try.
from cli.
@fleed Feel free to reopen the issue
from cli.
Related Issues (20)
- v1.0.7 does not seem to run anything in actions HOT 2
- Windows runner for Azure keyvault HOT 6
- Exported environment variables w/quotes break the docker run command HOT 1
- "docker: invalid reference format: repository name must be lowercase." HOT 2
- Error: Unable to find image 'up:latest' locally HOT 3
- Deploy failed: Pip failed with status code 1 HOT 4
- Unable to fetch all az cli versions HOT 11
- what are the benefits on using azure/CLI action over standard run command HOT 2
- Azure/CLI@V1 Error on Self-Hosted Runner on Azure AKS HOT 4
- az & azure-cli-ml extension for deploying model HOT 7
- invalid reference format: repository name must be lowercase HOT 7
- Update to Node16 and new @actions/core
- Unable to use GITHUB_OUTPUT or GITHUB_STEP_SUMMARY
- Node.js 12 actions are deprecated HOT 3
- "Invalid reference format" error HOT 9
- latest v1.0.7 does not seem to run anything HOT 2
- Issue Running az cli inline command on windows agent HOT 3
- Consider using an improved JMESPath library
- The action not yet support Windows Runner HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.