Files
KamishiroUPM/.github/workflows/release.yml
AoiKamishiro db61ce1d97
All checks were successful
Release / build (push) Successful in 19s
renovate / renovate (push) Successful in 1m39s
update: goとリリース手順の更新
2026-03-05 16:51:44 +09:00

35 lines
663 B
YAML

name: Release
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
env:
NPM_USER: ${{ secrets.NPM_USER }}
NPM_PASS: ${{ secrets.NPM_PASS }}
NPM_REGISTRY: ${{ vars.NPM_REGISTRY }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download dependencies
run: go mod download
- name: Run Go release script
run: |
chmod +x ./.devcontainer/initialize.sh
./.devcontainer/initialize.sh
go run ./release.go