3 Commits
v1.4 ... v2.1.0

Author SHA1 Message Date
58b6d322a5 ci: update checkout version 2026-03-30 14:09:45 +00:00
9ececf8cba feat(setup-semrel): add saithodev/semantic-release-gitea 2026-03-30 12:33:01 +02:00
lucasdpt
fff0247b8a feat: update workflow 2026-03-15 12:24:20 +01:00
4 changed files with 1128 additions and 136 deletions

View File

@@ -15,14 +15,14 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup semantic-release - name: Setup semantic-release
uses: https://gitea.ldpt.fr/actions/semantic-release/setup-semantic-release@main uses: https://gitea.ldpt.fr/actions/semantic-release/setup-semrel@main
with: with:
node-version: "24" node-version: "24"
- name: Run semantic-release - name: Run semantic-release
run: npx semantic-release run: semantic-release

View File

@@ -1,6 +1,6 @@
name: 'Setup Semantic Release' name: 'Setup Semantic Release'
description: 'Setup Node.js and install semantic-release with all necessary plugins' description: 'Setup Node.js and install semantic-release with all necessary plugins'
author: 'zertys' author: 'zertus'
inputs: inputs:
node-version: node-version:
@@ -12,13 +12,13 @@ runs:
using: 'composite' using: 'composite'
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: ${{ inputs.node-version }} node-version: ${{ inputs.node-version }}
- name: Cache semantic-release dependencies - name: Cache semantic-release dependencies
id: cache-semantic-release id: cache-semantic-release
uses: actions/cache@v4 uses: actions/cache@v5
with: with:
path: ${{ github.action_path }}/node_modules path: ${{ github.action_path }}/node_modules
key: semantic-release-${{ runner.os }}-node${{ inputs.node-version }}-${{ hashFiles(format('{0}/package.json', github.action_path)) }} key: semantic-release-${{ runner.os }}-node${{ inputs.node-version }}-${{ hashFiles(format('{0}/package.json', github.action_path)) }}
@@ -35,9 +35,14 @@ runs:
- name: Add semantic-release to PATH - name: Add semantic-release to PATH
shell: bash shell: bash
run: | run: |
set -euo pipefail
echo "${{ github.action_path }}/node_modules/.bin" >> $GITHUB_PATH echo "${{ github.action_path }}/node_modules/.bin" >> $GITHUB_PATH
echo "NODE_PATH=${{ github.action_path }}/node_modules${NODE_PATH:+:$NODE_PATH}" >> $GITHUB_ENV
if [ ! -e "${{ github.workspace }}/node_modules" ]; then
ln -s "${{ github.action_path }}/node_modules" "${{ github.workspace }}/node_modules"
fi
echo "✓ Semantic-release added to PATH" echo "✓ Semantic-release added to PATH"
branding: branding:
icon: 'tag' icon: 'tag'
color: 'purple' color: 'purple'

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,15 @@
{ {
"name": "semantic-release", "name": "semantic-release",
"dependencies": { "dependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0", "@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.1.3", "@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@terrestris/maven-semantic-release": "^3.1.0", "@terrestris/maven-semantic-release": "^3.1.0",
"conventional-changelog-conventionalcommits": "^9.1.0", "conventional-changelog-conventionalcommits": "^9.3.1",
"semantic-release": "^25.0.3", "semantic-release": "^25.0.3",
"tsx": "^4.21.0" "tsx": "^4.21.0"
} }