Skip to content

Commit

Permalink
trying to specify token
Browse files Browse the repository at this point in the history
  • Loading branch information
krneta committed Apr 29, 2024
1 parent bcad379 commit f99f8ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/braket/juliapkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit f99f8ea

Please sign in to comment.