Skip to content

Commit

Permalink
update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojianpin committed May 22, 2024
1 parent 9440463 commit 5e3c75a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 95 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: build

on:
push:
branches: [ "main" ]
branches: ['main']
pull_request:
branches: [ "main" ]
branches: ['main']

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
# - name: Run tests
# run: cargo test --verbose
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
target: x86_64-pc-windows-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Run build
- name: install rustup
Expand All @@ -41,9 +41,9 @@ jobs:
- uses: msys2/setup-msys2@v2
if: matrix.rust == 'nightly-x86_64-gnu'
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja git
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja git
- name: Put MSYS2_MinGW64 on PATH
shell: msys2 {0}
run: export PATH=D:/a/_temp/msys/msys64/mingw64/bin:$PATH
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Yao <yaojianpin@sohu.com>"]
description = "a simple, fast, tiny workflow server"
edition = "2021"
name = "acts-server"
version = "0.5.1"
version = "0.5.2"
keywords = ["workflow", "acts", "server"]
license = "Apache-2.0"
repository = "https://github.com/yaojianpin/acts-server.git"
Expand Down

0 comments on commit 5e3c75a

Please sign in to comment.