rose-pine-gitea/.github/workflows/release-please.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

2023-08-23 10:22:53 +00:00
on:
push:
branches: [main]
name: release-please
permissions:
contents: write
pull-requests: write
2023-08-23 10:22:53 +00:00
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
2023-08-23 16:19:58 +00:00
- uses: actions/checkout@v3
2023-08-24 20:56:43 +00:00
if: ${{ steps.release.outputs.release_created }}
2023-08-23 16:19:58 +00:00
2023-08-23 10:22:53 +00:00
- uses: denoland/setup-deno@v1
if: ${{ steps.release.outputs.release_created }}
with:
deno-version: v1.x
- run: deno task build
if: ${{ steps.release.outputs.release_created }}
- name: Create tarball
if: ${{ steps.release.outputs.release_created }}
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
2023-08-24 20:56:43 +00:00
gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz