Workflow update

This commit is contained in:
Matteo Paonessa 2024-10-02 21:37:27 +02:00
parent ece925698b
commit 5d0b0b4906
1 changed files with 4 additions and 9 deletions

View File

@ -1,9 +1,4 @@
# .github/workflows/deploy.yml # .github/workflows/deploy.yml
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
# https://rust-lang.github.io/rustup/installation/other.html
# https://rust-lang.github.io/rustup-components-history/
# https://myedgetech.com/deploy-rust-cross-platform-github-actions/
name: Build Release name: Build Release
on: on:
@ -52,7 +47,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Get the release version from the tag - name: Get the release version from the tag
shell: bash shell: bash
@ -67,7 +62,7 @@ jobs:
targets: ${{ matrix.target }} targets: ${{ matrix.target }}
- name: Build - name: Build
uses: actions-rs/cargo@v1 uses: clechasseur/rs-cargo@v2
with: with:
use-cross: true use-cross: true
command: build command: build
@ -97,7 +92,7 @@ jobs:
# https://github.com/softprops/action-gh-release?tab=readme-ov-file#-customizing # https://github.com/softprops/action-gh-release?tab=readme-ov-file#-customizing
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v2
with: with:
files: | files: |
${{ env.ASSET }} ${{ env.ASSET }}
@ -111,7 +106,7 @@ jobs:
|Windows x86_64| caesiumclt-v*-x86_64-pc-windows-msvc.zip|\n" |Windows x86_64| caesiumclt-v*-x86_64-pc-windows-msvc.zip|\n"
- name: Upload Artifact 🚀 - name: Upload Artifact 🚀
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ env.ASSET }} name: ${{ env.ASSET }}
path: ${{ env.ASSET }} path: ${{ env.ASSET }}