Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
Signed-off-by: srinivas4u <[email protected]>
  • Loading branch information
srinivas4u authored Dec 19, 2024
1 parent e68571d commit 8020da3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ jobs:
sudo apt-get install -y jq
- name: Fetch GitHub IP addresses
id: fetch-ip
run: |
ip_data=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/meta)
github_ips=$(echo $ip_data | jq -r '.pages[]')
echo "github_ips=$github_ips" >> $GITHUB_ENV
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/meta | jq -r '.pages[]' > github_ips.txt
- name: Install dependencies
run: |
Expand All @@ -48,4 +45,4 @@ jobs:

- name: Display GitHub IP addresses
run: |
echo "GitHub IP addresses: ${{ env.github_ips }}"
cat github_ips.txt

0 comments on commit 8020da3

Please sign in to comment.