testing converting github actions to gitea actions

This commit is contained in:
2023-09-24 04:38:02 -05:00
parent 649cfcbf39
commit 7c2ff5319d
14 changed files with 8 additions and 8 deletions

View File

@@ -43,15 +43,15 @@ jobs:
- { target: x86_64-pc-windows-msvc, os: windows-2019, arch: x86_64 }
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: https://github.com/actions/checkout@v3
# - name: Install LLVM and Clang
# uses: KyleMayes/install-llvm-action@v1
# uses: https://github.com/KyleMayes/install-llvm-action@v1
# with:
# version: ${{ env.LLVM_VERSION }}
# - name: Install flutter
# uses: subosito/flutter-action@v2
# uses: https://github.com/subosito/flutter-action@v2
# with:
# channel: "stable"
# flutter-version: ${{ env.FLUTTER_VERSION }}
@@ -66,14 +66,14 @@ jobs:
# mv -Force engine/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2
- uses: https://github.com/Swatinem/rust-cache@v2
with:
prefix-key: ${{ matrix.job.os }}
@@ -111,7 +111,7 @@ jobs:
fi
- name: Sign rustdesk files
uses: GermanBluefox/code-sign-action@v7
uses: https://github.com/GermanBluefox/code-sign-action@v7
if: env.UPLOAD_ARTIFACT == 'true'
with:
certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}'
@@ -132,7 +132,7 @@ jobs:
mv ./target/release/rustdesk-portable-packer.exe ./SignOutput/rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.exe
- name: Sign rustdesk self-extracted file
uses: GermanBluefox/code-sign-action@v7
uses: https://github.com/GermanBluefox/code-sign-action@v7
if: env.UPLOAD_ARTIFACT == 'true'
with:
certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}'
@@ -143,7 +143,7 @@ jobs:
recursive: false
- name: Publish Release
uses: softprops/action-gh-release@v1
uses: https://github.com/softprops/action-gh-release@v1
if: env.UPLOAD_ARTIFACT == 'true'
with:
prerelease: true