Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> "${GITHUB_OUTPUT}"
- name: Upload patch
if: steps.self_mutation.outputs.self_mutation_happened
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: .repo.patch
path: .repo.patch
Expand Down
116 changes: 42 additions & 74 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ jobs:
run: yarn install --check-files
- name: build
run: npx projen build
- name: Backup artifact permissions
run: cd dist && getfacl -R . > permissions-backup.acl
continue-on-error: true
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: build-artifact
path: dist
package-js:
needs: build
runs-on: ubuntu-latest
Expand All @@ -36,20 +28,15 @@ jobs:
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
run: yarn install --check-files --frozen-lockfile
- name: Create js artifact
run: cd .repo && npx projen package:js
run: npx projen compile && npx projen package:js
package-java:
needs: build
runs-on: ubuntu-latest
Expand All @@ -62,93 +49,74 @@ jobs:
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
run: yarn install --check-files --frozen-lockfile
- name: Create java artifact
run: cd .repo && npx projen package:java
run: npx projen compile && npx projen package:java
package-python:
needs: build
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: 3.x
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
- name: Checkout
uses: actions/checkout@v4
with:
python-version: 3.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
run: yarn install --check-files --frozen-lockfile
- name: Create python artifact
run: cd .repo && npx projen package:python
run: npx projen compile && npx projen package:python
package-dotnet:
needs: build
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
with:
dotnet-version: 9.0.x
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
- name: Checkout
uses: actions/checkout@v4
with:
dotnet-version: 3.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
run: yarn install --check-files --frozen-lockfile
- name: Create dotnet artifact
run: cd .repo && npx projen package:dotnet
run: npx projen compile && npx projen package:dotnet

package-go:
needs: build
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: ^1.16.0
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
- name: Checkout
uses: actions/checkout@v4
with:
go-version: ^1.16.0
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
run: yarn install --check-files --frozen-lockfile
- name: Create go artifact
run: cd .repo && npx projen package:go
run: npx projen compile && npx projen package:go

71 changes: 39 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
run: cd dist && getfacl -R . > permissions-backup.acl
continue-on-error: true
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: build-artifact
path: dist
overwrite: true
release_npm:
name: Publish to npm
needs: release
Expand All @@ -47,21 +48,23 @@ jobs:
with:
node-version: 18.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: .repo
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
- name: Create js artifact
run: cd .repo && npx projen package:js
run: cd .repo && npx projen compile && npx projen package:js
- name: Collect js Artifact
run: mv .repo/dist dist
run: mv .repo/dist/js dist/js
- name: Release
env:
NPM_DIST_TAG: latest
Expand Down Expand Up @@ -95,21 +98,23 @@ jobs:
with:
node-version: 18.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: .repo
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
- name: Create java artifact
run: cd .repo && npx projen package:java
run: cd .repo && npx projen compile && npx projen package:java
- name: Collect java Artifact
run: mv .repo/dist dist
run: mv .repo/dist/java dist/java
- name: Release
env:
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
Expand Down Expand Up @@ -144,21 +149,23 @@ jobs:
with:
python-version: 3.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: .repo
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
- name: Create python artifact
run: cd .repo && npx projen package:python
run: cd .repo && npx projen compile && npx projen package:python
- name: Collect python Artifact
run: mv .repo/dist dist
run: mv .repo/dist/python dist/python
- name: Release
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand Down Expand Up @@ -188,23 +195,25 @@ jobs:
node-version: 18.x
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25
with:
dotnet-version: 3.x
dotnet-version: 9.0.x
Copy link
Collaborator

@EspenAlbert EspenAlbert Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got strange errors in the package:dotnet job:

  • Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
  • No usable version of libssl was found

But after upgrading no errors. As the generation of the lib is done with package:dotnet | jsii-pacmak -v --target dotnet I don't see any issue in upgrading the dotnet-version

- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: .repo
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
- name: Create dotnet artifact
run: cd .repo && npx projen package:dotnet
run: cd .repo && npx projen compile && npx projen package:dotnet
- name: Collect dotnet Artifact
run: mv .repo/dist dist
run: mv .repo/dist/dotnet dist/dotnet
- name: Extract Version
id: extract-version
run: echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
Expand Down Expand Up @@ -249,21 +258,23 @@ jobs:
with:
go-version: ^1.16.0
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: .repo
- name: Install Dependencies
run: cd .repo && yarn install --check-files --frozen-lockfile
- name: Create go artifact
run: cd .repo && npx projen package:go
run: cd .repo && npx projen compile && npx projen package:go
- name: Collect go Artifact
run: mv .repo/dist dist
run: mv .repo/dist/go dist/go
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GO_GITHUB_TOKEN }}
Expand Down Expand Up @@ -293,17 +304,13 @@ jobs:
with:
node-version: 18.x
- name: Download build artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
uses: actions/download-artifact@533298bc57c27f112a2c04a74a04a4d43e2866fd
with:
name: build-artifact
path: dist
- name: Restore build artifact permissions
run: cd dist && setfacl --restore=permissions-backup.acl
continue-on-error: true
- name: Prepare Repository
run: mv dist .repo
- name: Collect GitHub Metadata
run: mv .repo/dist dist
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> "${GITHUB_OUTPUT}"
- name: Upload patch
if: steps.create_patch.outputs.patch_created
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: .repo.patch
path: .repo.patch
Expand Down
10 changes: 5 additions & 5 deletions .mergify.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading