mirror of
https://github.com/jimeh/emacs-liquid-glass-icons.git
synced 2026-02-18 19:16:40 +00:00
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
---
|
|
name: CI
|
|
on: [push]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
release-please:
|
|
runs-on: ubuntu-latest
|
|
if: startsWith(github.ref, 'refs/heads/')
|
|
steps:
|
|
- uses: jimeh/release-please-manifest-action@bfd8923580a274363ff9fbaf6d07484fbc8d9c6e # v2.0.0
|
|
id: release
|
|
with:
|
|
target-branch-pattern: '^(main|master|release-[0-9]+(\.[0-9]+)?\.x)$'
|
|
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
|
|
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
|
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- name: Publish Resources to GitHub Release
|
|
run: |
|
|
gh release upload ${{ github.ref_name }} \
|
|
Resources/Assets.car \
|
|
LICENSE.md
|
|
find Resources -name '*.icns' -print0 \
|
|
| xargs -0 gh release upload ${{ github.ref_name }} \
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|