From f99f8ea7515a729295ecf8ea2174362d50781271 Mon Sep 17 00:00:00 2001 From: Milan Krneta Date: Mon, 29 Apr 2024 11:44:56 -0700 Subject: [PATCH] trying to specify token --- .github/workflows/python-package.yml | 17 +---------------- src/braket/juliapkg.json | 2 +- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f33742b..b2296f8 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,21 +17,6 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.9", "3.10", "3.11"] steps: - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - name: Get Julia Simulator - uses: actions/checkout@v4 - with: - repository: amazon-braket/BraketSimulator.jl - token: ${{secrets.TEMP_PAT_EXP_JUL_28}} - ref: main - - name: Setup Julia Simulator - shell: julia --project=docs --color=yes {0} - run: | - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate() - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -42,7 +27,7 @@ jobs: pip install tox - name: Run unit tests env: - GITHUB_TOKEN: ${{secrets.TEMP_PAT_EXP_JUL_28}} + GH_PRIVATE_TOKEN: ${{secrets.TEMP_PAT_EXP_JUL_28}} run: | tox -e unit-tests - name: Upload coverage report to Codecov diff --git a/src/braket/juliapkg.json b/src/braket/juliapkg.json index ab8597c..09bbe8a 100644 --- a/src/braket/juliapkg.json +++ b/src/braket/juliapkg.json @@ -3,7 +3,7 @@ "packages": { "BraketSimulator": { "uuid": "76d27892-9a0b-406c-98e4-7c178e9b3dff", - "url": "git@github.com:amazon-braket/BraketSimulator.jl.git", + "url": "$GH_PRIVATE_TOKEN@github.com:amazon-braket/BraketSimulator.jl.git", "rev": "main" } }