webext-dark-mode/.github/workflows/release.yml
Workflow config file is invalid. Please check your config file: Line: 9 Column 5: Failed to match job-factory: Line: 26 Column 9: Failed to match run-step: Line: 27 Column 9: Unknown Property uses Line: 28 Column 9: Unknown Property with Line: 26 Column 9: Failed to match regular-step: Line: 33 Column 25: Unknown Variable Access server_url Line: 9 Column 5: Failed to match workflow-job: Line: 11 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
Felipe M. 8d93f3b3cf
All checks were successful
CI / build (push) Successful in 11s
CI / lint (push) Successful in 14s
ci: migrate from Woodpecker CI to Forgejo Actions (#1)
Replace Woodpecker CI with GitHub/Forgejo Actions workflows matching
the patterns used in mattermost-marketplace-ng. Add CI workflow with
lint and build jobs, and release workflow with artifact upload.
Also update .gitignore with web-ext-artifacts and AI tool entries.

Reviewed-on: #1
Co-authored-by: Felipe M. <me@fmartingr.com>
Co-committed-by: Felipe M. <me@fmartingr.com>
2026-04-08 11:06:20 +02:00

36 lines
985 B
YAML

name: Release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
steps:
- uses: actions/checkout@v6
- uses: actions/setup-bun@v2
- name: Build extension
run: make build
- name: Prepare artifacts
run: |
TAG=${GITHUB_REF#refs/tags/}
mkdir -p release
find web-ext-artifacts -name "*.zip" -exec mv {} release/webext-dark-mode-${TAG}.zip \;
cp release/webext-dark-mode-${TAG}.zip release/webext-dark-mode-${TAG}.xpi
- name: Create release
uses: actions/forgejo-release@v2.6.0
with:
direction: upload
tag: ${{ github.ref_name }}
title: ${{ github.ref_name }}
release-notes: ""
download-url: ${{ server_url }}/${{ github.repository }}
token: ${{ secrets.FORGEJO_TOKEN }}
release-dir: release
release-notes-assistant: ""