Skip to content

Commit cca06f4

Browse files
committed
fix github actions
1 parent ec52e9c commit cca06f4

2 files changed

Lines changed: 8 additions & 19 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,15 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: "Install release helper"
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.PRO_GITHUB_TOKEN }}
2729
run: |
2830
mkdir -p bin
29-
curl -o bin/release-helper.sh -L https://api.github.com/repos/localstack/localstack/contents/bin/release-helper.sh -H 'Accept: application/vnd.github.v3.raw'
31+
curl -fsSL \
32+
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
33+
-H "Accept: application/vnd.github.v3.raw" \
34+
"https://api.github.com/repos/localstack/localstack-core/contents/bin/release-helper.sh" \
35+
-o bin/release-helper.sh
3036
chmod +x bin/release-helper.sh
3137
3238
- name: "Prepare git config"

.github/workflows/update-latest.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,9 @@ jobs:
6464
working-directory: localstack-pro
6565
run: make install
6666

67-
- name: Link Community into Pro venv
68-
working-directory: localstack-pro
69-
run: |
70-
source .venv/bin/activate
71-
pip install -e ../localstack[runtime,test]
72-
73-
- name: Create Community Entrypoints
74-
working-directory: localstack
75-
# Entrypoints need to be generated _after_ the community edition has been linked into the venv
76-
run: |
77-
VENV_DIR="../localstack-pro/.venv" make entrypoints
78-
79-
- name: Create Pro Entrypoints
80-
working-directory: localstack-pro
81-
run: |
82-
make entrypoints
83-
8467
- name: Generate the latest spec
8568
run: |
86-
source localstack-pro/.venv/bin/activate
69+
source localstack-pro/localstack-pro-core/.venv/bin/activate
8770
python bin/update-aws-spec.py --latest
8871
8972
- name: Create PR

0 commit comments

Comments
 (0)