Skip to content

Commit 39e6c65

Browse files
authored
update-releases in release.yml
Added "update-releases" job to keep the asset table from being rebuilt multiple times.
1 parent 451077c commit 39e6c65

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ jobs:
116116
draft: false
117117
token: ${{ secrets.GITHUB_TOKEN }}
118118

119+
update-releases:
120+
name: Create Asset Table #creates asset table
121+
runs-on: ubuntu-latest
122+
needs: release
123+
steps:
124+
- uses: actions/checkout@v3
119125
- name: Set up Python
120126
uses: actions/setup-python@v4
121127
with:
@@ -125,7 +131,8 @@ jobs:
125131
run: python -m pip install --upgrade pip && pip install requests
126132

127133
- name: Run Python script
134+
working-directory: ${{ github.workspace }}/${{ env.PROJECT_PATH }} # set working directory
128135
run: |
129136
python .github/workflows/update_release_table.py ${{ github.ref_name }}
130137
env:
131-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
138+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)