Skip to content

Commit 786c37e

Browse files
committed
testing edits
1 parent 7317e0f commit 786c37e

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/release-upgradeable.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
workflow_dispatch: {}
55

66
env:
7-
UPGRADEABLE_REPO: OpenZeppelin/openzeppelin-contracts-upgradeable
7+
UPGRADEABLE_REPO: ${{ github.repository + '-upgradeable' }}
88

99
jobs:
1010
state:
1111
name: Check state
1212
permissions:
1313
pull-requests: read
14-
if: ${{ github.repository == 'OpenZeppelin/openzeppelin-contracts' }}
14+
if: ${{ github.repository == 'Amxx/openzeppelin-contracts' }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
@@ -31,7 +31,7 @@ jobs:
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:
@@ -53,6 +53,7 @@ jobs:
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

.github/workflows/upgradeable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v6
1515
with:
16-
repository: OpenZeppelin/openzeppelin-contracts-upgradeable
16+
repository: Amxx/openzeppelin-contracts-upgradeable
1717
fetch-depth: 0
1818
token: ${{ secrets.GH_TOKEN_UPGRADEABLE }}
1919
- name: Fetch current non-upgradeable branch

0 commit comments

Comments
 (0)