-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See [CHANGELOG](https://github.com/aws/jsii/blob/bump/1.60.0/CHANGELOG.md)
- Loading branch information
Showing
145 changed files
with
6,284 additions
and
3,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,29 +16,24 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
cache: 'pip' | ||
cache-dependency-path: 'gh-pages/requirements-dev.txt' | ||
python-version: '3.8' | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Locate Caches | ||
id: cache-locations | ||
run: |- | ||
echo "::set-output name=pip-cache::$(python3 -m pip cache dir)" | ||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.cache-locations.outputs.pip-cache }} | ||
key: ${{ runner.os }}-${{ hashFiles('**/requirements-dev.txt') }} | ||
restore-keys: ${{ runner.os }}- | ||
- name: Install Dependencies | ||
run: |- | ||
pip install -r requirements-dev.txt | ||
python3 -m venv ${{ runner.temp }}/venv | ||
source ${{ runner.temp }}/venv/bin/activate | ||
python3 -m pip install -r requirements-dev.txt | ||
working-directory: gh-pages | ||
- name: Build DocSite | ||
run: |- | ||
mkdir -p ${{ runner.temp }}/site | ||
source ${{ runner.temp }}/venv/bin/activate | ||
mkdocs build \ | ||
--strict \ | ||
--site-dir ${{ runner.temp }}/site | ||
|
@@ -52,7 +47,7 @@ jobs: | |
publish: | ||
name: Publish | ||
needs: build | ||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | ||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
|
@@ -73,8 +68,9 @@ jobs: | |
git config user.email "[email protected]" | ||
- name: Prepare Commit | ||
run: |- | ||
rsync --delete --exclude=.git --exclude=dev --recursive ${{ runner.temp }}/site/ ./ | ||
touch .nojekyll | ||
rsync --archive --checksum --delete --inplace --recursive --verbose \ | ||
--exclude=.git --exclude=.nojekyll --exclude=dev \ | ||
${{ runner.temp }}/site/ ./ | ||
git add . | ||
git diff --cached --exit-code >/dev/null || ( | ||
git commit -am 'docs: publish from ${{ github.sha }}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
|
||
env: | ||
DOTNET_NOLOGO: true | ||
NODE_OPTIONS: --max-old-space-size=4096 | ||
|
||
# This workflows currently has the following jobs: | ||
# - build : Builds the source tree as-is | ||
|
@@ -40,11 +41,11 @@ jobs: | |
with: | ||
java-version: '8' | ||
distribution: 'zulu' | ||
- name: Set up Node 12 | ||
- name: Set up Node 14 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: yarn | ||
node-version: '12' | ||
node-version: '14' | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v3 | ||
with: | ||
|
@@ -69,10 +70,10 @@ jobs: | |
!~/.m2/repository/software/amazon/jsii/ | ||
~/.nuget/packages | ||
!~/.nuget/packages/amazon.jsii.* | ||
key: ${{ runner.os }}-node@12[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} | ||
key: ${{ runner.os }}-node@14[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} | ||
restore-keys: |- | ||
${{ runner.os }}-node@12[email protected] | ||
${{ runner.os }}-node@12- | ||
${{ runner.os }}-node@14[email protected] | ||
${{ runner.os }}-node@14- | ||
${{ runner.os }}- | ||
# Prepare dependencies and build | ||
- name: Install Dependencies | ||
|
@@ -134,11 +135,11 @@ jobs: | |
with: | ||
java-version: '8' | ||
distribution: 'zulu' | ||
- name: Set up Node 12 | ||
- name: Set up Node 14 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: yarn | ||
node-version: '12' | ||
node-version: '14' | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v3 | ||
with: | ||
|
@@ -163,10 +164,10 @@ jobs: | |
!~/.m2/repository/software/amazon/jsii/ | ||
~/.nuget/packages | ||
!~/.nuget/packages/amazon.jsii.* | ||
key: ${{ runner.os }}-node@12[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} | ||
key: ${{ runner.os }}-node@14[email protected]${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} | ||
restore-keys: |- | ||
${{ runner.os }}-node@12[email protected] | ||
${{ runner.os }}-node@12- | ||
${{ runner.os }}-node@14[email protected] | ||
${{ runner.os }}-node@14- | ||
${{ runner.os }}- | ||
# Prepare dependencies and build | ||
- name: Install Dependencies | ||
|
@@ -216,67 +217,66 @@ jobs: | |
go: ['1.16'] | ||
java: ['8'] | ||
node: | ||
- '12' # EOL 2022-04-30 | ||
- '14' # EOL 2023-04-30 | ||
- '16' # EOL 2024-04-30 | ||
- '17' # EOL 2022-06-01 | ||
- '18' # EOL 2025-04-30 | ||
os: [ubuntu-latest] | ||
python: ['3.7'] | ||
# Add specific combinations to be tested against "node 12" (to restrict cardinality) | ||
# Add specific combinations to be tested against "node 14" (to restrict cardinality) | ||
include: | ||
# Test using Windows | ||
- os: windows-latest | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
java: '8' | ||
node: '12' | ||
node: '14' | ||
python: '3.7' | ||
# Test using macOS | ||
- os: macos-latest | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
java: '8' | ||
node: '12' | ||
node: '14' | ||
python: '3.7' | ||
# Test alternate .NETs | ||
- java: '8' | ||
dotnet: '5.0.x' | ||
go: '1.16' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
python: '3.7' | ||
- java: '8' | ||
dotnet: '6.0.x' | ||
go: '1.16' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
python: '3.7' | ||
# Test alternate Javas | ||
- java: '11' | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
python: '3.7' | ||
# Test alternate Pythons | ||
- python: '3.8' | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
java: '8' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
- python: '3.9' | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
java: '8' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
- python: '3.10' | ||
dotnet: '3.1.x' | ||
go: '1.16' | ||
java: '8' | ||
node: '12' | ||
node: '14' | ||
os: ubuntu-latest | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.