44 workflow_dispatch : {}
55
66env :
7- UPGRADEABLE_REPO : OpenZeppelin/openzeppelin-contracts -upgradeable
7+ UPGRADEABLE_REPO : ${{ github.repository }} -upgradeable
88
99jobs :
1010 state :
1111 name : Check state
1212 permissions :
1313 pull-requests : read
14- if : ${{ github.repository == 'OpenZeppelin/openzeppelin-contracts' }}
14+ if : ${{ !endsWith( github.repository, '-upgradeable') }}
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v6
3131 echo "commit=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
3232 - name : Check upgradeable
3333 id : check-upgradeable
34- run : bash lib/openzeppelin/ scripts/release/workflow/check-upgradeable.sh # TODO: remove path prefix when this is merged and the change are transpiled
34+ run : bash scripts/release/workflow/check-upgradeable.sh
3535 env :
3636 REFERENCE_COMMIT : ${{ steps.get-reference-commit.outputs.commit }}
3737 outputs :
5353 with :
5454 repository : ${{ env.UPGRADEABLE_REPO }}
5555 ref : ${{ github.ref }}
56+ token : ${{ secrets.GH_TOKEN_UPGRADEABLE }}
5657 - uses : actions/checkout@v6
5758 with :
5859 ref : ${{ github.ref }}
@@ -69,18 +70,18 @@ jobs:
6970 with :
7071 name : ${{ github.ref_name }}
7172 path : ${{ steps.pack.outputs.tarball }}
72- - name : Publish
73- run : bash scripts/release/workflow/publish.sh
74- env :
75- TARBALL : ${{ steps.pack.outputs.tarball }}
76- TAG : ${{ steps.pack.outputs.tag }}
73+ # - name: Publish
74+ # run: bash scripts/release/workflow/publish.sh
75+ # env:
76+ # TARBALL: ${{ steps.pack.outputs.tarball }}
77+ # TAG: ${{ steps.pack.outputs.tag }}
7778 - name : Create Github Release
7879 uses : actions/github-script@v8
7980 env :
8081 PRERELEASE : ${{ needs.state.outputs.is_prerelease }}
8182 with :
8283 github-token : ${{ secrets.GH_TOKEN_UPGRADEABLE }}
83- script : await require('./lib/openzeppelin-contracts/ scripts/release/workflow/github-release.js')({ github, context }, '${{ env.UPGRADEABLE_REPO }}') # TODO: remove path prefix when this is merged and the change are transpiled
84+ script : await require('./scripts/release/workflow/github-release.js')({ github, context }, '${{ env.UPGRADEABLE_REPO }}')
8485 outputs :
8586 tarball_name : ${{ steps.pack.outputs.tarball_name }}
8687
0 commit comments