File: action.yml

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (37 lines) | stat: -rw-r--r-- 1,048 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: GH Azdev Setup
description: 'azdev env setup'

runs:
  using: 'composite'
  steps:
    - name: Check Init GH Event
      env:
        action: ${{ toJSON(github.event.action) }}
        label: ${{ toJSON(github.event.label) }}
      shell: bash
      run: |
        echo start azdev env setup
    - name: Checkout CLI repo
      uses: actions/checkout@v4
      with:
        fetch-depth: 0 # checkout all branches
        ref: ${{ github.event.pull_request.head.ref }}
        repository: ${{ github.event.pull_request.head.repo.full_name }}  # checkout pull request branch
    - name: Set up Python 3.12
      uses: actions/setup-python@v3
      with:
        python-version: "3.12"
    - name: Install azdev
      shell: bash
      run: | 
        python -m pip install --upgrade pip
        set -ev
        python -m venv env
        chmod +x env/bin/activate
        source ./env/bin/activate
        pip install azdev
        azdev --version
        cd ../
        azdev setup -c azure-cli --debug
        az --version
        pip list -v