fix: revert change-case update #83
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
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
release-type: node | |
package-name: release-please-action | |
- uses: actions/setup-node@v4 | |
if: ${{ steps.release.outputs.releases_created }} | |
with: | |
node-version: '16' | |
- uses: actions/checkout@v4 | |
if: ${{ steps.release.outputs.releases_created }} | |
- name: 'Cache node_modules' | |
if: ${{ steps.release.outputs.releases_created }} | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
package-lock.json | |
key: ${{ runner.os }}-node-v16-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-v16- | |
- name: Install Dependencies | |
if: ${{ steps.release.outputs.releases_created }} | |
run: npm install | |
- name: Run Build | |
if: ${{ steps.release.outputs.releases_created }} | |
run: npm run release | |
- name: Upload Release Asset | |
if: ${{ steps.release.outputs.releases_created }} | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.release.outputs.upload_url }} | |
asset_path: ./DemoMonkey-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}-stable.zip | |
asset_name: DemoMonkey-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.zip | |
asset_content_type: application/zip |