Skip to content

优化 TransAction,中间处理异常时,自动全部回滚 #770

优化 TransAction,中间处理异常时,自动全部回滚

优化 TransAction,中间处理异常时,自动全部回滚 #770

Workflow file for this run

name: ubuntu-python-build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Cache packages
id: cache-xmake-ubuntu
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.xmake
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.9.3
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'
- name: configure
run: |
xmake f -y -k shared
- name: build
run: |
xmake -b core