Skip to content

Commit

Permalink
Fix tokens in build workflow
Browse files Browse the repository at this point in the history
This is still a problem in the build and publish workflow
  • Loading branch information
sclaiborne committed Feb 3, 2024
1 parent f6bd746 commit e3c83a3
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,18 @@ jobs:
submodules: 'true'
path: "main"
lfs: true
token: ${{ secrets.GHA_PAT_4_25 }} # `GH_PAT` is a secret that contains your PAT
- uses: actions/checkout@v4
with:
repository: "loupeteam/AsGithubAction"
submodules: 'true'
ref: "main"
path: "AsGithubAction"
token: ${{ secrets.GHA_PAT_4_25 }} # `GH_PAT` is a secret that contains your PAT
- uses: actions/checkout@v4
with:
repository: "loupeteam/ASPython"
submodules: 'true'
ref: "bugfix/pvi-error-code"
path: "AsPython"
token: ${{ secrets.GHA_PAT_4_25 }} # `GH_PAT` is a secret that contains your PAT
- uses: actions/checkout@v4
with:
repository: "loupeteam/LPM"
submodules: 'true'
ref: "main"
path: "LPM"
token: ${{ secrets.GHA_PAT_4_25 }} # `GH_PAT` is a secret that contains your PAT
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -57,12 +47,4 @@ jobs:
- run: python.exe ./AsPython/CmdLineBuild.py ./main/example/AsProject/AsProject.apj -c Intel ARM -bm Rebuild -sim --logLevel DEBUG
- run: python.exe ./AsPython/CmdLineExportLib.py ./main/example/AsProject/AsProject.apj -dest ./libs -c Intel ARM -wl vartools -l DEBUG -o -bm "None"
# - run: python.exe ./ASPython/CmdLineARSim.py ${{ github.workspace }}/main/example/AsProject/AsProject.apj -c Intel --logLevel DEBUG -ss
# - run: python.exe ./ASPython/CmdLineRunUnitTests.py http://127.0.0.1 -a -d ./TestResults
- uses: ./AsGithubAction
with:
token: ${{ secrets.GITHUB_TOKEN }}
# - run: |
# cd ./libs/vartools
# python.exe ${{ github.workspace }}/LPM/src/LPM.py login -s -t ${{ secrets.GHA_PAT_4_25 }} -nc
# python.exe ${{ github.workspace }}/LPM/src/LPM.py init -s -lib -nc
# python.exe ${{ github.workspace }}/LPM/src/LPM.py publish -s -nc
# - run: python.exe ./ASPython/CmdLineRunUnitTests.py http://127.0.0.1 -a -d ./TestResults

0 comments on commit e3c83a3

Please sign in to comment.