Compare commits
26
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07dfd529db | ||
|
|
fb3592244a | ||
|
|
c84cc9cc2c | ||
|
|
e8b0312835 | ||
|
|
9ea224b049 | ||
|
|
b53261d981 | ||
|
|
b5fc4ce293 | ||
|
|
917032b254 | ||
|
|
03b121fa55 | ||
|
|
a68a068898 | ||
|
|
22bda91950 | ||
|
|
835f19a923 | ||
|
|
315444758c | ||
|
|
969513ec79 | ||
|
|
167986474f | ||
|
|
45cc514130 | ||
|
|
0082d365c0 | ||
|
|
cd800cc665 | ||
|
|
e40bcd8402 | ||
|
|
fa0ad7eda9 | ||
|
|
4a053aa019 | ||
|
|
af6c55a269 | ||
|
|
89f98049b1 | ||
|
|
8dc07d7ea8 | ||
|
|
78a125d1cd | ||
|
|
76630efc1d |
@@ -0,0 +1,6 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: master
|
||||
upstream: WiVRn:master
|
||||
mergeMethod: hardreset
|
||||
|
||||
@@ -22,9 +22,14 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||
repository: 'WiVRn/WiVRn'
|
||||
repository: 'Vindicus999/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
#
|
||||
# - uses: actions/checkout@v4
|
||||
# with:
|
||||
# repository: 'Vindicus999/WiVRn'
|
||||
# ref: sneed
|
||||
|
||||
- name: set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
@@ -68,7 +73,9 @@ jobs:
|
||||
- name: Prepare before archiving artifacts
|
||||
run: |
|
||||
mkdir apk
|
||||
ls build/outputs/apk/
|
||||
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
||||
ls apk/
|
||||
mkdir debug
|
||||
mv build/intermediates/merged_native_libs/*/*/out/lib/* debug/
|
||||
find debug -name libopenxr_loader.so -delete
|
||||
@@ -102,13 +109,15 @@ jobs:
|
||||
pattern: 'apk-*'
|
||||
merge-multiple: true
|
||||
|
||||
- name: Rename APK artifacts
|
||||
run: |
|
||||
cd apk
|
||||
for f in *.apk; do
|
||||
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
done
|
||||
# - name: Rename APK artifacts
|
||||
# run: |
|
||||
# cd apk
|
||||
# ls
|
||||
# for f in *.apk; do
|
||||
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
# done
|
||||
# ls
|
||||
|
||||
- name: Download APK debug artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -122,6 +131,11 @@ jobs:
|
||||
cd symbols
|
||||
zip -r ../debug-symbols.zip .
|
||||
|
||||
- name: How the hell doesnt it work
|
||||
run: |
|
||||
ls apk
|
||||
ls
|
||||
|
||||
- name: APK Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
name: Sync Upstream
|
||||
|
||||
env:
|
||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||
UPSTREAM_BRANCH: "master"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5/6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: GitHub Sync to Upstream Repository
|
||||
uses: dabreadman/sync-upstream-repo@v1.3.0
|
||||
with:
|
||||
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Merge sneed -> master
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: sneed
|
||||
target_branch: master
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user