Update CI actions version

pull/231/head
YX Hao 4 months ago
parent 9ceb72da92
commit b66fce7978

@ -29,11 +29,11 @@ jobs:
ARCHIVE_PATH: encrypted-dns_${{ github.ref_name }}_${{ matrix.target_alias }}${{ matrix.archive_suffix }} ARCHIVE_PATH: encrypted-dns_${{ github.ref_name }}_${{ matrix.target_alias }}${{ matrix.archive_suffix }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2 - uses: goto-bus-stop/setup-zig@v2
- uses: hecrj/setup-rust-action@master - uses: hecrj/setup-rust-action@v2
with: with:
rust-version: stable rust-version: stable
targets: ${{ matrix.target }} targets: ${{ matrix.target }}
@ -63,12 +63,12 @@ jobs:
cargo install cargo-deb cargo install cargo-deb
cargo deb --output=encrypted-dns_${{ github.ref_name }}_amd64.deb --no-build cargo deb --output=encrypted-dns_${{ github.ref_name }}_amd64.deb --no-build
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@v4
with: with:
name: encrypted-dns_${{ matrix.target_alias }} name: encrypted-dns_${{ matrix.target_alias }}
path: ${{ env.ARCHIVE_PATH }} path: ${{ env.ARCHIVE_PATH }}
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu-20.04' }} if: ${{ matrix.os == 'ubuntu-20.04' }}
with: with:
name: encrypted-dns_deb-amd64 name: encrypted-dns_deb-amd64
@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
- name: Create release - name: Create release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1

@ -10,8 +10,8 @@ jobs:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v4
- uses: hecrj/setup-rust-action@master - uses: hecrj/setup-rust-action@v2
with: with:
rust-version: nightly rust-version: nightly
- name: Check Cargo availability - name: Check Cargo availability

Loading…
Cancel
Save