Skip to content

Commit 80711d5

Browse files
authored
feat: fix CI bugs (#3)
* fix: update ci configs (cherry picked from commit 11445aa) * fix: update ci configs
1 parent aaac0db commit 80711d5

File tree

3 files changed

+10
-49
lines changed

3 files changed

+10
-49
lines changed

.github/workflows/PerformancePush.yml

-40
This file was deleted.

.github/workflows/build.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@ jobs:
2323
needs: test
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v4
26+
- name: Checkout
27+
uses: actions/checkout@v3
28+
with:
29+
fetch-depth: 0
30+
- name: Setup Node.js
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: 20
2734

28-
- name: Run semantic-release
29-
if: github.repository == 'casbin/casbin-go-cli' && github.event_name == 'push'
30-
run: make release
35+
- name: Release
3136
env:
3237
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+

Makefile

-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,3 @@ benchmark:
1111

1212
lint:
1313
golangci-lint run --verbose
14-
15-
release:
16-
yarn global add [email protected]
17-
semantic-release
18-

0 commit comments

Comments
 (0)