Skip to content

fix: XML Malformed Error DeleteObjectsCommand (#300) #208

fix: XML Malformed Error DeleteObjectsCommand (#300)

fix: XML Malformed Error DeleteObjectsCommand (#300) #208

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
# https://github.com/actions/checkout
uses: actions/checkout@v3
- uses: ./.github/actions/pnpm-setup
- name: Install dependencies
run: pnpm install
- name: Check codestyle
run: pnpm lint
- name: Create Release Pull Request or Publish to npm
id: changesets
# https://github.com/changesets/action
uses: changesets/action@v1
with:
createGithubReleases: false
version: pnpm run version
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: View outputs
run: echo ${{join(steps.changesets.outputs.*, ' ')}}
- name: Aggregate
id: aggregate
if: steps.changesets.outputs.published == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
node ./.changeset/aggregate.mjs
- name: Create Release
if: steps.changesets.outputs.published == 'true'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.aggregate.outputs.version }}
release_name: ${{ steps.aggregate.outputs.version }}
body: ${{ steps.aggregate.outputs.notes }}
draft: false
prerelease: false