From 7da757469298a64a60e3be56d950b3112d8e13eb Mon Sep 17 00:00:00 2001 From: connlost <4348524953.h@gmail.com> Date: Sun, 24 Mar 2024 09:10:52 +0800 Subject: [PATCH] tweak github workflow file --- .github/workflows/Dev Build.yml | 42 ------------------- .../{Main Build.yml => dev-release.yml} | 9 ++-- 2 files changed, 3 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/Dev Build.yml rename .github/workflows/{Main Build.yml => dev-release.yml} (92%) diff --git a/.github/workflows/Dev Build.yml b/.github/workflows/Dev Build.yml deleted file mode 100644 index 9df2451..0000000 --- a/.github/workflows/Dev Build.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: DEV Build - -on: - push: - branches: - - develop -jobs: - build: - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.12.2 - - - name: Set up Node - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Run Windows Builder Script - if: runner.os == 'Windows' - shell: pwsh - run: ./build_executable.ps1 - - - name: Run Unix-like Builder Script - if: runner.os != 'Windows' - shell: bash - run: ./build_executable.sh - - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: Palworld_Pal_Editor_${{ matrix.os }}_artifact - path: ./dist/ \ No newline at end of file diff --git a/.github/workflows/Main Build.yml b/.github/workflows/dev-release.yml similarity index 92% rename from .github/workflows/Main Build.yml rename to .github/workflows/dev-release.yml index 79d02f0..119187e 100644 --- a/.github/workflows/Main Build.yml +++ b/.github/workflows/dev-release.yml @@ -1,11 +1,8 @@ -name: Main Build +name: Dev Release -on: - push: - branches: - - main +on: [push] jobs: - build: + dev-release: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest]