Skip to content

Commit

Permalink
chore: update ci jobs version
Browse files Browse the repository at this point in the history
Signed-off-by: Taoyuesong <[email protected]>
  • Loading branch information
Taoyuesong committed Sep 14, 2024
1 parent 6be2f80 commit deedbf8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Upload test results artefacts
if: github.repository_owner == 'casbin' && github.event_name == 'push'
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-test-results"
path: './test-results'
Expand All @@ -82,12 +82,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Dry run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
yarn global add semantic-release@17.4.3
yarn global add semantic-release@24.1.1
semantic-release --dry-run
release-build-version:
Expand All @@ -97,7 +97,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -108,7 +108,7 @@ jobs:
run: git tag -l -n

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
}
- name: Upload packages artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-build-packages"
path: './packages'
14 changes: 7 additions & 7 deletions .github/workflows/infersharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net8.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net8.0-results"
path: './infer-out/report.txt'
Expand All @@ -57,7 +57,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net7.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net7.0-results"
path: './infer-out/report.txt'
Expand All @@ -71,7 +71,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net6.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net6.0-results"
path: './infer-out/report.txt'
Expand All @@ -85,7 +85,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net5.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net5.0-results"
path: './infer-out/report.txt'
Expand All @@ -99,7 +99,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net3.1 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net3.1-results"
path: './infer-out/report.txt'
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
}
- name: Upload test results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-test-results"
path: './test-results'
Expand All @@ -87,12 +87,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
yarn global add semantic-release@19.0.2
yarn global add semantic-release@24.1.1
semantic-release
push-packages:
Expand All @@ -102,7 +102,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -113,7 +113,7 @@ jobs:
run: git tag -l -n

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
}
- name: Upload packages artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-packages"
path: './packages'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: windows-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@v4
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit deedbf8

Please sign in to comment.