Test #22
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
name: Test | |
on: | |
workflow_dispatch: | |
{} | |
jobs: | |
test: | |
runs-on: ubuntu-22.04-arm | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: temurin | |
# - uses: actions/setup-go@v5 | |
# with: | |
# go-version: '1.20.0' | |
# - name: Checkout Kiota Java extra | |
# run: | | |
# git clone https://github.com/jsenko/kiota-java-extra.git kiota-java-extra | |
# cd kiota-java-extra && git checkout support-linux-arm64 | |
# | |
# - name: Build the plugin | |
# working-directory: kiota-java-extra | |
# run: | | |
# mvn clean install -DskipTests | |
- name: Checkout Apicurio Registry | |
run: | | |
git clone https://github.com/jsenko/apicurio-registry.git registry | |
# - name: Change the version - remove this to reproduce the error. | |
# working-directory: registry | |
# run: | | |
# sed -i 's|<kiota.community.version>0.0.20</kiota.community.version>|<kiota.community.version>999-SNAPSHOT</kiota.community.version>|g' pom.xml | |
# sed -i 's|<kiota.version>1.21.0</kiota.version>|<kiota.version>1.23.0</kiota.version>|g' pom.xml | |
# - name: Reproduce | |
# working-directory: registry | |
# run: | | |
# mvn clean install -pl go-sdk -am -e --no-transfer-progress --fail-fast -Pprod -DskipTests | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.11' | |
# | |
# - name: Install Poetry | |
# uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d | |
# | |
# - name: Reproduce python-sdk | |
# working-directory: registry/python-sdk | |
# run: | | |
# make install | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Check Node Version | |
run: node --version | |
# Needs special tagging to use submodules: https://stackoverflow.com/a/64705638/7898052 | |
- name: Release Typescript SDK | |
working-directory: registry/typescript-sdk | |
run: | | |
npm install | |
npm run generate-sources | |
npm run build | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
if: failure() | |
with: | |
limit-access-to-actor: true |