mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
GitHub deprecated Node 20 on Actions runners. Bump every action with a node24 release: checkout v4->v5, github-script v7->v8, cache v4->v5, upload-artifact v3/v4->v7, docker/login-action v3->v4, build-push-action v6->v7, setup-buildx/setup-qemu v3->v4. (setup-node@v6 and digitalocean/action-doctl@v2 are already node24.) Node version -> latest 24.x: setup-node node-version 24.14.0->24.17.0, .nvmrc->24.17.0, Docker base node:24.14.0-alpine3.23 -> 24.16.0-alpine3.23 (24.17.0's alpine image isn't on Docker Hub yet; tracks up when published). No upstream node24 release yet (still warn): ilammy/msvc-dev-cmd@v1 (Windows MSVC, 30x) and samuelmeuli/action-snapcraft@v2 (node16). Desktop linux/win images use node:buster-slim (EOL Debian) — left untouched to not disturb the just-fixed desktop builds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 lines
987 B
YAML
39 lines
987 B
YAML
name: Release Prod
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 300
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubicloud-standard-4]
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Bump version and push tag
|
|
uses: mathieudutour/github-tag-action@v6.1
|
|
id: tag_version
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
release_branches: master,main,develop,stage
|
|
pre_release_branches: something_to_possible_use_later
|
|
|
|
- name: Create a GitHub release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
allowUpdates: true
|
|
generateReleaseNotes: true
|
|
prerelease: false
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
tag: ${{ steps.tag_version.outputs.new_tag }}
|
|
name: ${{ steps.tag_version.outputs.new_tag }}
|
|
body: ${{ steps.tag_version.outputs.changelog }}
|