Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

v2.3.0_development

v2.3.0_development #5

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set TAG_NAME
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Compress into zip
run: |
cd $GITHUB_WORKSPACE
zip -r RootSwitcher_v2.3.0_development.zip ./ -x "./.github/*" -x "./.git/*"
wget https://raw.githubusercontent.com/yu13140/RootSwitcher/refs/heads/main/.github/ChangeLog.txt
- name: Upload Zip
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG_NAME }}
files: RootSwitcher_v2.3.0_development.zip
body_path: ChangeLog.txt