- Re-enable other workflows

This commit is contained in:
ParticleG
2021-10-30 23:33:57 +08:00
committed by MrZ626
parent 5e9c9cb5fa
commit f7dfe1d869

View File

@@ -27,93 +27,93 @@ jobs:
echo "::set-output name=code::$(lua .github/workflows/getVersion.lua -code)" echo "::set-output name=code::$(lua .github/workflows/getVersion.lua -code)"
echo "::set-output name=commit::$(git rev-parse --short ${{ GITHUB.SHA }})" echo "::set-output name=commit::$(git rev-parse --short ${{ GITHUB.SHA }})"
# build-windows: build-windows:
# runs-on: windows-latest runs-on: windows-latest
# needs: get-info needs: get-info
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: ./.github/actions/snapshot-update - uses: ./.github/actions/snapshot-update
# with: with:
# commit: ${{ needs.get-info.outputs.commit }} commit: ${{ needs.get-info.outputs.commit }}
# - uses: ./.github/actions/build-windows - uses: ./.github/actions/build-windows
# with: with:
# love-url: https://github.com/love2d/love/releases/download/11.3/love-11.3-win64.zip love-url: https://github.com/love2d/love/releases/download/11.3/love-11.3-win64.zip
# love-dir: love-11.3-win64 love-dir: love-11.3-win64
# arch: win64 arch: win64
# version: ${{ needs.get-info.outputs.name }} version: ${{ needs.get-info.outputs.name }}
# icon: .\.github\build\Windows\icon_snapshot.ico icon: .\.github\build\Windows\icon_snapshot.ico
# - name: Upload - name: Upload
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Windows name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Windows
# path: love path: love
# build-linux: build-linux:
# runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
# needs: get-info needs: get-info
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: ./.github/actions/snapshot-update - uses: ./.github/actions/snapshot-update
# with: with:
# commit: ${{ needs.get-info.outputs.commit }} commit: ${{ needs.get-info.outputs.commit }}
# - uses: ./.github/actions/build-linux - uses: ./.github/actions/build-linux
# with: with:
# icon: .github/build/Linux/icon_snapshot.png icon: .github/build/Linux/icon_snapshot.png
# - name: Upload - name: Upload
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Linux name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Linux
# path: Techmino.AppImage path: Techmino.AppImage
# build-android: build-android:
# runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
# needs: get-info needs: get-info
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: ./.github/actions/snapshot-update - uses: ./.github/actions/snapshot-update
# with: with:
# commit: ${{ needs.get-info.outputs.commit }} commit: ${{ needs.get-info.outputs.commit }}
# - uses: ./.github/actions/build-android - uses: ./.github/actions/build-android
# with: with:
# type: Snapshot type: Snapshot
# apkCode: ${{ needs.get-info.outputs.apkCode }} apkCode: ${{ needs.get-info.outputs.apkCode }}
# name: ${{ needs.get-info.outputs.name }} name: ${{ needs.get-info.outputs.name }}
# file-path: Techmino_Snapshot.apk file-path: Techmino_Snapshot.apk
# SIGNING_KEY: ${{ secrets.SIGNING_KEY }} SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
# KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
# ALIAS: ${{ secrets.ALIAS }} ALIAS: ${{ secrets.ALIAS }}
# KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
# - name: Upload - name: Upload
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Android name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_Android
# path: Techmino_Snapshot.apk path: Techmino_Snapshot.apk
# build-macOS: build-macOS:
# runs-on: macos-10.15 runs-on: macos-10.15
# needs: get-info needs: get-info
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: ./.github/actions/snapshot-update - uses: ./.github/actions/snapshot-update
# with: with:
# commit: ${{ needs.get-info.outputs.commit }} commit: ${{ needs.get-info.outputs.commit }}
# - uses: ./.github/actions/build-macos - uses: ./.github/actions/build-macos
# with: with:
# name: ${{ needs.get-info.outputs.name }} name: ${{ needs.get-info.outputs.name }}
# icon: .github/build/macOS/icon_snapshot.icns icon: .github/build/macOS/icon_snapshot.icns
# APPLE_API_ID: '${{ secrets.APPLE_API_ID }}' APPLE_API_ID: '${{ secrets.APPLE_API_ID }}'
# APPLE_API_ISSUER: '${{ secrets.APPLE_API_ISSUER }}' APPLE_API_ISSUER: '${{ secrets.APPLE_API_ISSUER }}'
# APPLE_API_KEY: '${{ secrets.APPLE_API_KEY }}' APPLE_API_KEY: '${{ secrets.APPLE_API_KEY }}'
# APPLE_APP_IDENTIFIER: '${{ secrets.APPLE_APP_IDENTIFIER }}' APPLE_APP_IDENTIFIER: '${{ secrets.APPLE_APP_IDENTIFIER }}'
# APPLE_KEYCHAIN_NAME: '${{ secrets.APPLE_KEYCHAIN_NAME }}' APPLE_KEYCHAIN_NAME: '${{ secrets.APPLE_KEYCHAIN_NAME }}'
# APPLE_KEYCHAIN_PWD: '${{ secrets.APPLE_KEYCHAIN_PWD }}' APPLE_KEYCHAIN_PWD: '${{ secrets.APPLE_KEYCHAIN_PWD }}'
# FASTLANE_MATCH_PWD: '${{ secrets.FASTLANE_MATCH_PWD }}' FASTLANE_MATCH_PWD: '${{ secrets.FASTLANE_MATCH_PWD }}'
# FASTLANE_MATCH_TOKEN: '${{ secrets.FASTLANE_MATCH_TOKEN }}' FASTLANE_MATCH_TOKEN: '${{ secrets.FASTLANE_MATCH_TOKEN }}'
# - name: Upload - name: Upload
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_macOS name: Techmino_${{ needs.get-info.outputs.name }}_${{ GITHUB.RUN_NUMBER }}_${{ needs.get-info.outputs.commit }}_macOS
# path: Techmino.dmg path: Techmino.dmg
build-iOS: build-iOS:
runs-on: macos-latest runs-on: macos-latest