From 3d5df1ac7d84da9fbf1a8746f175e7808ff006dd Mon Sep 17 00:00:00 2001 From: joeyhodge <96703964+joeyhodge@users.noreply.github.com> Date: Sat, 12 Oct 2024 11:22:39 -0400 Subject: [PATCH] Delete .github/workflows/dev-release.yml --- .github/workflows/dev-release.yml | 77 ------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 .github/workflows/dev-release.yml diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml deleted file mode 100644 index 5041bcc9..00000000 --- a/.github/workflows/dev-release.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: Dev Release -on: [push, workflow_dispatch] -env: - BUILD_TYPE: Release -jobs: - dev-release: - runs-on: windows-latest - strategy: - matrix: - target: [RE2, RE2_TDB66, RE3, RE3_TDB67, RE4, RE7, RE7_TDB49, RE8, DMC5, MHRISE, SF6, DD2] - steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - with: - submodules: recursive - fetch-depth: 0 - persist-credentials: false - - - name: Configure CMake - run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DDEVELOPER_MODE=ON - - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target ${{matrix.target}} - - - name: Compress release - run: | - echo ${{github.sha}} > ${{github.workspace}}/reframework_revision.txt - echo none > ${{github.workspace}}/DELETE_OPENVR_API_DLL_IF_YOU_WANT_TO_USE_OPENXR - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/reframework_revision.txt - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/DELETE_OPENVR_API_DLL_IF_YOU_WANT_TO_USE_OPENXR - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/build/bin/${{matrix.target}}/dinput8.dll - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/dependencies/openvr/bin/win64/openvr_api.dll - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/build/_deps/openxr-build/src/loader/${{env.BUILD_TYPE}}/openxr_loader.dll - 7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/scripts - 7z rn ${{github.workspace}}/${{matrix.target}}.zip scripts reframework/autorun - - - name: Upload artifacts - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 - with: - name: ${{matrix.target}} - path: ${{github.workspace}}/${{matrix.target}}.zip - if-no-files-found: error - - nightly-push: - runs-on: windows-latest - needs: dev-release - if: github.ref == 'refs/heads/master' - steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - with: - persist-credentials: false - - - name: Download artifacts - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 - with: - path: ${{github.workspace}}/artifacts - - - name: Set padded run number - run: | - $paddedRunNumber = "{0:D5}" -f ${{ github.run_number }} - echo "RUN_NUMBER=$paddedRunNumber" >> $env:GITHUB_ENV - shell: powershell - - - name: Create Release - uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 - with: - repo: REFramework-nightly - owner: praydog - token: ${{ secrets.REPO_TOKEN }} - name: ${{format('REF Nightly {0} ({1})', env.RUN_NUMBER, github.sha)}} - tag: ${{format('nightly-{0}-{1}', env.RUN_NUMBER, github.sha)}} - artifacts: ${{github.workspace}}/artifacts/**/*.zip - makeLatest: true - bodyFile: ${{github.workspace}}/nightly-body.md - allowUpdates: true -