Update Github Actions (#3708)
This commit is contained in:
parent
13c588c308
commit
eb01bfd293
5 changed files with 18 additions and 18 deletions
4
.github/workflows/bench.yml
vendored
4
.github/workflows/bench.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
|||
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: Save results as artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.job }}-comparison.txt
|
||||
path: bench-results/${{ github.job }}-comparison.txt
|
||||
|
@ -198,7 +198,7 @@ jobs:
|
|||
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: Save results as artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.target }}-comparison.txt
|
||||
path: bench-results/${{ matrix.target }}-comparison.txt
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -230,7 +230,7 @@ jobs:
|
|||
toolchain: 1.75.0
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
@ -305,7 +305,7 @@ jobs:
|
|||
run: cargo make ci-workspace-coverage
|
||||
|
||||
- name: Upload coverage report
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
timeout-minutes: 1
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
|
14
.github/workflows/nix.yml
vendored
14
.github/workflows/nix.yml
vendored
|
@ -20,9 +20,9 @@ jobs:
|
|||
# if: ${{ github.ref == 'refs/heads/main' }} || ${{ github.event.label.name == 'nix' }}
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - uses: cachix/install-nix-action@v20
|
||||
# - uses: cachix/cachix-action@v12
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: cachix/install-nix-action@v26
|
||||
# - uses: cachix/cachix-action@v14
|
||||
# with:
|
||||
# name: surrealdb
|
||||
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
@ -36,8 +36,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: cachix/cachix-action@v12
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: surrealdb
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
@ -51,8 +51,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: cachix/cachix-action@v12
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: surrealdb
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
|
2
.github/workflows/reusable_docker.yml
vendored
2
.github/workflows/reusable_docker.yml
vendored
|
@ -83,7 +83,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
|
|
12
.github/workflows/reusable_publish_version.yml
vendored
12
.github/workflows/reusable_publish_version.yml
vendored
|
@ -237,7 +237,7 @@ jobs:
|
|||
cat /tmp/surrealdb.log || true
|
||||
|
||||
- name: Upload coverage report
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: code-coverage-report
|
||||
path: target/llvm-cov/html/
|
||||
|
@ -528,7 +528,7 @@ jobs:
|
|||
run: ${{ matrix.build-step }}
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.file }}
|
||||
path: |
|
||||
|
@ -642,12 +642,12 @@ jobs:
|
|||
run: release-plz release --config /tmp/release-plz.toml
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: ${{ inputs.create-release }}
|
||||
with:
|
||||
name: "Release ${{ needs.prepare-vars.outputs.git-ref }}"
|
||||
|
@ -704,13 +704,13 @@ jobs:
|
|||
FILE: surreal-${{ needs.prepare-vars.outputs.name }}.darwin-universal
|
||||
steps:
|
||||
- name: Download amd64 binary
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: surreal-${{ needs.prepare-vars.outputs.name }}.darwin-amd64
|
||||
path: amd64
|
||||
|
||||
- name: Download arm64 binary
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: surreal-${{ needs.prepare-vars.outputs.name }}.darwin-arm64
|
||||
path: arm64
|
||||
|
|
Loading…
Reference in a new issue