FFFF
Skip to content

ci: include hidden files when uploading the .output zip artifact #2

ci: include hidden files when uploading the .output zip artifact

ci: include hidden files when uploading the .output zip artifact #2

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
steps:
# Maintains an always-open "release PR" that bumps the version + CHANGELOG
# from Conventional Commits. Merging that PR creates the git tag + GitHub
# Release; the steps below then attach the built extension zip.
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: Checkout (only when a release was just created)
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 22
cache: pnpm
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: pnpm install --frozen-lockfile
- name: Package zip
if: ${{ steps.release.outputs.release_created }}
run: pnpm zip
- name: Attach extension zip to the release
if: ${{ steps.release.outputs.release_created }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload "${{ steps.release.outputs.tag_name }}" .output/*-chrome.zip --clobber
0