Skip to content

Commit

Permalink
Possible nightly fix
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Apr 6, 2024
1 parent 0ba1bfd commit f76287c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
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
Expand All @@ -39,17 +40,29 @@ jobs:
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
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

- name: Create Release
if: github.ref == 'refs/heads/master'
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5
with:
repo: REFramework-nightly
owner: praydog
token: ${{ secrets.REPO_TOKEN }}
name: ${{format('REF Nightly {0} ({1})', github.run_number, github.sha)}}
tag: ${{format('nightly-{0}-{1}', github.run_number, github.sha)}}
artifacts: "${{github.workspace}}/${{matrix.target}}.zip"
artifacts: "*/*.zip"
makeLatest: true
bodyFile: ${{github.workspace}}/nightly-body.md
allowUpdates: true
Expand Down

0 comments on commit f76287c

Please sign in to comment.