mirror of
https://github.com/ryanccn/attic-action.git
synced 2024-11-28 02:14:05 +00:00
88dbb4b600
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
595 B
YAML
30 lines
595 B
YAML
name: Release
|
|
|
|
on:
|
|
release:
|
|
types: [published, edited]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.release.tag_name }}
|
|
|
|
- uses: pnpm/action-setup@v2
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
cache: pnpm
|
|
cache-dependency-path: pnpm-lock.yaml
|
|
|
|
- name: Build
|
|
run: pnpm install && pnpm build
|
|
|
|
- uses: JasonEtco/build-and-tag-action@v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|