fix compatibility with feat: resourcePrefix should allow empty string… #38
Workflow file for this run
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: Publish packages | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Build source | |
uses: udondan/jsii-publish@v0.12.0 | |
with: | |
VERSION: ${{ steps.get_version.outputs.VERSION }} | |
BUILD_SOURCE: true | |
- name: Build packages | |
uses: udondan/jsii-publish@v0.12.0 | |
with: | |
BUILD_PACKAGES: true | |
- name: Publish to npm | |
uses: udondan/jsii-publish@v0.12.0 | |
with: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish to PyPI | |
uses: udondan/jsii-publish@v0.12.0 | |
with: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
- name: Publish to NuGet | |
uses: udondan/jsii-publish@v0.12.0 | |
with: | |
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} | |
# | |
# - name: Publish to Maven GitHub | |
# uses: udondan/jsii-publish@v0.12.0 | |
# with: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# GITHUB_REPOSITORY: ${{ github.repository }} |