mirror of
https://github.com/rfvgyhn/min-ed-launcher.git
synced 2026-02-04 12:45:45 +00:00
upgrade deprecated versions of github ci actions
This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -25,10 +25,10 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
|
||||
- name: Restore
|
||||
run: dotnet restore -r ${{ matrix.target }}
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
mv target/release/bootstrap.exe "artifacts/$release_name/MinEdLauncher.Boostrap.exe"
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: min-ed-launcher_${{ steps.version.outputs.version }}_${{ matrix.target }}
|
||||
path: "artifacts/*${{ matrix.target }}*/"
|
||||
14
.github/workflows/release.yaml
vendored
14
.github/workflows/release.yaml
vendored
@ -25,10 +25,10 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
|
||||
- name: Install Rust
|
||||
if: ${{ matrix.target == 'win-x64' }}
|
||||
@ -46,9 +46,9 @@ jobs:
|
||||
run: ./publish.sh
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
name: artifacts-${{ matrix.kind }}
|
||||
path: artifacts/*
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
@ -59,13 +59,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
path: artifacts
|
||||
merge-multiple: true
|
||||
|
||||
- name: Show files
|
||||
run: ls -R
|
||||
|
||||
Reference in New Issue
Block a user