File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change 1313 - " true"
1414
1515jobs :
16- # # First check if CI workflow succeeded
17- # check-ci:
18- # runs-on: ubuntu-latest
19- # steps:
20- # - name: Check CI workflow status
21- # uses: actions/github-script@v7
22- # id: check-status
23- # with:
24- # script: |
25- # const ref = context.sha;
26- # const workflow_name = 'Build and Test';
27-
28- # const workflow_runs = await github.rest.actions.listWorkflowRuns({
29- # owner: context.repo.owner,
30- # repo: context.repo.repo,
31- # workflow_id: workflow_name,
32- # head_sha: ref,
33- # });
34-
35- # const latest_run = workflow_runs.data.workflow_runs[0];
36- # if (!latest_run || latest_run.conclusion !== 'success') {
37- # core.setFailed('CI workflow has not succeeded for this commit');
38- # return false;
39- # }
40- # return true;
41-
4216 publish :
4317 if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
44- # needs: check-ci
4518 runs-on : ubuntu-latest
4619 permissions :
4720 id-token : write
5528 github_token : ${{ secrets.GITHUB_TOKEN }}
5629 workflow : build-test.yml
5730 commit : ${{ github.event.workflow_run.head_sha }}
31+ workflow_conclusion : success
5832 path : artifact-download
5933
6034 # Create dist directory
You can’t perform that action at this time.
0 commit comments