Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit be83eb5

Browse files
authored
Merge pull request #3 from snxd/dev
Checking python default path
2 parents 7c96aec + cb68cdb commit be83eb5

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

action.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,14 @@ runs:
6363
shell: bash
6464
run: python3 -m venv solsta_work/venv
6565

66-
- name: Set Python venv path (Linux/macOS)
67-
if: runner.os != 'Windows'
68-
shell: bash
69-
run: echo "VENV_PATH=venv/bin" >> $GITHUB_ENV
70-
71-
- name: Set Python venv path (Windows)
72-
if: runner.os == 'Windows'
73-
shell: bash
74-
run: echo "VENV_PATH=venv/Scripts" >> $GITHUB_ENV
75-
7666
- name: Install dotnet
7767
uses: actions/setup-dotnet@v2
7868
with:
7969
dotnet-version: '6.0.x'
8070

8171
- name: Install python prerequisites
8272
shell: bash
83-
run: ${{ env.VENV_PATH }}/python -m pip install -r requirements.txt
73+
run: python3 -m pip install -r requirements.txt
8474
working-directory: solsta_work
8575

8676
- name: Write console.json
@@ -104,7 +94,7 @@ runs:
10494
run: |
10595
# Download the latest SSN Console Tools if necessary
10696
if [ ! -d "solsta_console/${{ inputs.console_version }}" ]; then
107-
${{ env.VENV_PATH }}/python direct_get.py --overwrite --version="${{ inputs.console_version }}" --target_directory=solsta_console/${{ inputs.console_version }}/ --console_credentials=client_credentials.json --component=console
97+
python3 direct_get.py --overwrite --version="${{ inputs.console_version }}" --target_directory=solsta_console/${{ inputs.console_version }}/ --console_credentials=client_credentials.json --component=console
10898
fi
10999
110100
branding:

0 commit comments

Comments
 (0)