mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 10:00:51 +01:00
ci: Disable release_android
This commit is contained in:
parent
72325eb967
commit
141d0c1b68
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
@ -78,11 +78,12 @@ jobs:
|
|||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
cargo build --release --verbose
|
cargo build --release --verbose
|
||||||
cp target/release/kalker target/release/kalker-linux
|
mkdir build
|
||||||
|
cp target/release/kalker build/kalker-linux
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: linux
|
||||||
path: target/release/kalker-linux
|
path: build/kalker-linux
|
||||||
|
|
||||||
release_mac:
|
release_mac:
|
||||||
name: release mac
|
name: release mac
|
||||||
@ -99,11 +100,12 @@ jobs:
|
|||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
cargo build --release --verbose
|
cargo build --release --verbose
|
||||||
zip -r kalker-macOS.zip target/release/kalker
|
mkdir build
|
||||||
|
zip -r build/kalker-macOS.zip target/release/kalker
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: macOS
|
||||||
path: kalker-macOS.zip
|
path: build/kalker-macOS.zip
|
||||||
|
|
||||||
release_windows:
|
release_windows:
|
||||||
name: release windows
|
name: release windows
|
||||||
@ -146,15 +148,16 @@ jobs:
|
|||||||
[ ! -f /c/Users/runneradmin/.cargo/bin/cargo-wix.exe ] && cargo install cargo-wix --version 0.3.1
|
[ ! -f /c/Users/runneradmin/.cargo/bin/cargo-wix.exe ] && cargo install cargo-wix --version 0.3.1
|
||||||
cd cli
|
cd cli
|
||||||
cargo wix --no-build --nocapture
|
cargo wix --no-build --nocapture
|
||||||
mv target/wix/*.msi target/wix/kalker-windows.msi
|
mkdir build
|
||||||
|
mv target/wix/*.msi build/kalker-windows.msi
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: win64
|
||||||
path: cli/target/wix/kalker-windows.msi
|
path: build/kalker-windows.msi
|
||||||
|
|
||||||
release_android:
|
release_android:
|
||||||
name: release android
|
name: release android
|
||||||
if: always()
|
if: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [publish_kalk_web]
|
needs: [publish_kalk_web]
|
||||||
defaults:
|
defaults:
|
||||||
@ -196,11 +199,13 @@ jobs:
|
|||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
env:
|
env:
|
||||||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
|
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
|
||||||
- run: mv $(ls -Art android/app/build/outputs/apk/release/*.apk | tail -n 1) ../kalker-android.apk
|
- run: |
|
||||||
|
mkdir ../build
|
||||||
|
mv $(ls -Art android/app/build/outputs/apk/release/*.apk | tail -n 1) ../build/kalker-android.apk
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: android
|
||||||
path: kalker-android.apk
|
path: build/kalker-android.apk
|
||||||
|
|
||||||
create_release:
|
create_release:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
@ -219,12 +224,11 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries
|
path: build
|
||||||
|
merge-multiple: true
|
||||||
- name: Upload Assets
|
- name: Upload Assets
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
files: ./*
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: gh release create ${{ github.ref_name }} build/**/*
|
||||||
|
Loading…
Reference in New Issue
Block a user