fix: update csp config #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: ["v*.*.*"] | |
jobs: | |
release: | |
runs-on: windows-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: Set up Task | |
run: go install github.com/go-task/task/v3/cmd/task@latest | |
- name: Set up Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: Setup | |
run: task setup | |
- name: Build CLI | |
run: task build-cli -- --release | |
- name: Build | |
run: task build | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
target/release/Xpic.exe | |
target/release/xpic-cli.exe | |
target/release/bundle/msi/*.msi | |
target/release/bundle/nsis/*.exe |