@@ -18,13 +18,12 @@ jobs:
1818 # First try to download previous artifacts to have as fallback
1919 - name : 📥 Download previous formal spec HTML for fallback
2020 id : download_previous
21- uses : dawidd6/action- download-artifact@v6
21+ uses : actions/ download-artifact@v4
2222 continue-on-error : true
2323 with :
2424 name : formal-spec-html
2525 path : previous-formal-spec-html
26- if_no_artifact_found : ignore
27- allow_forks : false
26+ if-no-files-found : ignore
2827
2928 - name : Check previous artifacts
3029 id : check_previous
@@ -40,20 +39,19 @@ jobs:
4039 # Try to download directly from GitHub API to see artifacts in the formal-spec repo
4140 - name : List available artifacts in formal-spec repo
4241 run : |
43- curl -s -H "Authorization: token ${{ secrets.FORMAL_SPEC_PAT || github.token }}" \
42+ curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN || github.token }}" \
4443 "https://api.github.com/repos/input-output-hk/ouroboros-leios-formal-spec/actions/artifacts" | \
4544 jq '.artifacts[] | {name: .name, id: .id, created_at: .created_at, expired: .expired}' || true
4645
4746 - name : 📥 Download formal spec HTML
4847 id : download_new
49- uses : dawidd6/action- download-artifact@v6
48+ uses : actions/ download-artifact@v4
5049 continue-on-error : true
5150 with :
5251 name : formal-spec-html
53- repo : input-output-hk/ouroboros-leios-formal-spec
52+ repository : input-output-hk/ouroboros-leios-formal-spec
5453 path : new-formal-spec-html
55- token : ${{ secrets.FORMAL_SPEC_PAT || github.token }}
56- allow_forks : false
54+ github-token : ${{ secrets.GITHUB_TOKEN || github.token }}
5755
5856 - name : Prepare final formal spec HTML
5957 run : |
0 commit comments