Skip to content

Commit

Permalink
feat: fix CI bugs (#3)
Browse files Browse the repository at this point in the history
* fix: update ci configs

(cherry picked from commit 11445aa)

* fix: update ci configs
  • Loading branch information
MuZhou233 authored Jul 12, 2024
1 parent aaac0db commit 80711d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 49 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/PerformancePush.yml

This file was deleted.

14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Run semantic-release
if: github.repository == 'casbin/casbin-go-cli' && github.event_name == 'push'
run: make release
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release@v19.0.2
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,3 @@ benchmark:

lint:
golangci-lint run --verbose

release:
yarn global add semantic-release@17.2.4
semantic-release

0 comments on commit 80711d5

Please sign in to comment.