ci: updated runners

This commit is contained in:
objz committed 2026-04-22 21:56:14 +02:00
1 parent 1349958507
commit e9c9db892c
1 file changed
+10 -10
+10 -10
View File
@@ -33,7 +33,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: install Rust - name: install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
@@ -68,7 +68,7 @@ jobs:
Compress-Archive -Path ${{ matrix.artifact }} -DestinationPath ../../../mcl-${{ matrix.target }}.zip Compress-Archive -Path ${{ matrix.artifact }} -DestinationPath ../../../mcl-${{ matrix.target }}.zip
- name: upload artifact - name: upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: mcl-${{ matrix.target }} name: mcl-${{ matrix.target }}
path: mcl-${{ matrix.target }}.* path: mcl-${{ matrix.target }}.*
@@ -83,7 +83,7 @@ jobs:
tag: ${{ steps.version.outputs.tag }} tag: ${{ steps.version.outputs.tag }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
@@ -107,7 +107,7 @@ jobs:
- name: download artifacts - name: download artifacts
if: steps.check.outputs.exists == 'false' if: steps.check.outputs.exists == 'false'
uses: actions/download-artifact@v4 uses: actions/download-artifact@v8
with: with:
path: artifacts path: artifacts
@@ -142,13 +142,13 @@ jobs:
if: needs.release.outputs.released == 'true' if: needs.release.outputs.released == 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: install Rust - name: install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: publish to crates.io - name: publish to crates.io
run: cargo publish run: cargo publish --allow-dirty
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
@@ -158,10 +158,10 @@ jobs:
if: needs.release.outputs.released == 'true' if: needs.release.outputs.released == 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: download linux artifacts - name: download linux artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v8
with: with:
path: artifacts path: artifacts
@@ -187,7 +187,7 @@ jobs:
sed -i "s|^pkgver=.*|pkgver=${{ needs.release.outputs.version }}|" pkg/mcl-launcher/PKGBUILD sed -i "s|^pkgver=.*|pkgver=${{ needs.release.outputs.version }}|" pkg/mcl-launcher/PKGBUILD
- name: publish mcl-launcher to AUR - name: publish mcl-launcher to AUR
uses: KSXGitHub/github-actions-deploy-aur@v3 uses: KSXGitHub/github-actions-deploy-aur@v4.1.3
with: with:
pkgname: mcl-launcher pkgname: mcl-launcher
pkgbuild: pkg/mcl-launcher/PKGBUILD pkgbuild: pkg/mcl-launcher/PKGBUILD
@@ -198,7 +198,7 @@ jobs:
commit_message: "Update to ${{ needs.release.outputs.version }}" commit_message: "Update to ${{ needs.release.outputs.version }}"
- name: publish mcl-launcher-bin to AUR - name: publish mcl-launcher-bin to AUR
uses: KSXGitHub/github-actions-deploy-aur@v3 uses: KSXGitHub/github-actions-deploy-aur@v4.1.3
with: with:
pkgname: mcl-launcher-bin pkgname: mcl-launcher-bin
pkgbuild: pkg/mcl-launcher-bin/PKGBUILD pkgbuild: pkg/mcl-launcher-bin/PKGBUILD