Skip to content

Commit

Permalink
wip:-
Browse files Browse the repository at this point in the history
  • Loading branch information
cupen committed Nov 30, 2024
1 parent b2003bd commit 29c8c8a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
uses: actions/create-release@latest
- uses: actions/checkout@v4
- uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -45,15 +43,14 @@ jobs:
suffix: linux-x86_64
archive: tar.xz
name: x86_64-unknown-linux-gnu
- target: x86_64-apple-darwin
suffix: darwin-x86_64
archive: tar.gz
name: x86_64-apple-darwin
# - target: x86_64-apple-darwin
# suffix: darwin-x86_64
# archive: tar.gz
# name: x86_64-apple-darwin
runs-on: ubuntu-latest
steps:
- name: Clone test repository
uses: actions/checkout@v2
- uses: xhaiker/[email protected]
- uses: actions/checkout@v4
- uses: xhaiker/[email protected]
name: build ${{ matrix.name }}
with:
release: ${{ github.ref_name }}
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/release2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test rust release action
on:
push:
tags:
- "v*"
jobs:
basic_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: test build rust project
uses: lxl66566/[email protected]
with:
targets: x86_64-pc-windows-msvc, x86_64-unknown-linux-gnu
bins: fake-cdn
files_to_pack: README.md, LICENSE, conf
token: ${{ secrets.GITHUB_TOKEN }}
# https://cli.github.com/manual/gh_release_create
release_options: --draft --generate-notes
env:
debug: 1
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
actix-files = "0.6.6"
actix-multipart = "0.7.2"
actix-web = "4.9.0"
clap = "4.5.20"
clap = "4.5.21"
colog = "1.3.0"
flate2 = "1.0.34"
lazy_static = "1.5.0"
Expand Down

0 comments on commit 29c8c8a

Please sign in to comment.