feat: 完成基本功能
( 1. 新建连接 2. 新建桶 3. 上传文件 4. 下载文件 5. 预览图片 )
This commit is contained in:
39
.github/workflows/build.yml
vendored
Normal file
39
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
name: Auto Build Windows
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build-job:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
pull-requests: write
|
||||
repository-projects: write
|
||||
steps:
|
||||
- name: install node
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: install golang
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.22'
|
||||
|
||||
- name: install wails
|
||||
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||
|
||||
- name: build
|
||||
run: wails build -ldflags='-s -w'
|
||||
|
||||
- name: create release
|
||||
id: create_release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
title: "Release_Windows_${{ github.ref_name }}"
|
||||
files: |
|
||||
build/bin/nf-disk.exe
|
Reference in New Issue
Block a user