test git auth
diff --git a/.github/workflows/tinytapeout.yaml b/.github/workflows/tinytapeout.yaml index b18757f..296ff28 100644 --- a/.github/workflows/tinytapeout.yaml +++ b/.github/workflows/tinytapeout.yaml
@@ -16,11 +16,6 @@ - name: checkout repo uses: actions/checkout@v2 - # build pdk - - name: pdk & openlane & precheck - run: | - make setup - make precheck # need python - name: setup python @@ -42,11 +37,6 @@ run: | pwd # /home/runner/work/tinytapeout-mpw7/tinytapeout-mpw7 - # uncompress - - name: uncompress gds - run: | - make uncompress - # install oss fpga tools # - name: install oss-cad-suite # uses: YosysHQ/setup-oss-cad-suite@v1 @@ -56,7 +46,7 @@ # yosys --version # iverilog -V - # fetch the repos - will fail till work out the tokens stuff + # fetch the repos - name: fetch all run: python ./configure.py --update-projects @@ -64,6 +54,17 @@ - name: configure run: python ./configure.py --update-caravel + # build pdk - have to move this back above to get caravel makefile + - name: pdk & openlane & precheck + run: | + make setup + make precheck + + # uncompress + - name: uncompress gds + run: | + make uncompress + - name: user project wrapper GDS run: make user_project_wrapper @@ -76,9 +77,3 @@ with: name: Wrapper GDS path: gds/user_project_wrapper.gds - - - name: Archive Wrapper Signoff - uses: actions/upload-artifact@v2 - with: - name: Wrapper Report - path: openlane/user_project_wrapper/runs/user_project_wrapper/reports/final_summary_report.csv
diff --git a/configure.py b/configure.py index f4950d8..c75065b 100755 --- a/configure.py +++ b/configure.py
@@ -84,6 +84,11 @@ "Accept" : "application/vnd.github+json", } + api_url = 'https://api.github.com/user/repos' + r = requests.get(api_url, headers=headers) + print(r) + data = r.json() + print(data) api_url = 'https://api.github.com/repos/{}/{}/actions/artifacts'.format(user_name, repo) r = requests.get(api_url, headers=headers) requests_remaining = int(r.headers['X-RateLimit-Remaining']) @@ -91,9 +96,7 @@ logging.error("no API requests remaining") exit(1) - print(r) data = r.json() - print(data) try: latest = data['artifacts'][0] except IndexError: