Compare commits

...
Author SHA1 Message Date
Vindicus999 c9be142917 Merge remote-tracking branch 'upstream/master' 2025-10-26 20:57:19 +00:00
Vindicus999 f55e52cc69 Update Sync.yml 2025-10-26 15:33:00 -04:00
Vindicus999 7253d4cc9f Update Sync.yml 2025-10-26 15:30:37 -04:00
Vindicus999 54929abae9 Update Sync.yml 2025-10-26 15:28:55 -04:00
Vindicus999 b641c66d25 Update Sync.yml 2025-10-26 15:21:05 -04:00
Vindicus999 0736fc3fc5 Update Sync.yml 2025-10-26 14:57:28 -04:00
Vindicus999 aa4ccfd0b0 Update Sync.yml
Update Sync.yml
2025-10-26 14:52:04 -04:00
Vindicus999 73e86ed096 Configure build actions 2025-10-26 13:56:01 -04:00
3 changed files with 57 additions and 9 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+9 -9
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on: on:
push: push:
branches: [ "master" ] branches: [ "apk-build" ]
env: env:
BUILD_TYPE: RelWithDebInfo BUILD_TYPE: RelWithDebInfo
@@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly # 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 }} ref: ${{ github.sha }}
fetch-depth: 0 fetch-depth: 0
@@ -110,13 +110,13 @@ jobs:
pattern: 'apk-*' pattern: 'apk-*'
merge-multiple: true merge-multiple: true
- name: Rename APK artifacts # - name: Rename APK artifacts
run: | # run: |
cd apk # cd apk
for f in *.apk; do # for f in *.apk; do
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'` # BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
mv "${f}" "org.meumeu.wivrn-${BASENAME}" # mv "${f}" "org.meumeu.wivrn-${BASENAME}"
done # done
- name: Download APK debug artifacts - name: Download APK debug artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
+42
View File
@@ -0,0 +1,42 @@
name: Sync Fork with Upstream
env:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
UPSTREAM_BRANCH: "master"
on:
schedule:
- cron: '0 0 * * *'
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 }}
- name: Checkout stuff
uses: actions/checkout@master
- name: Merge master -> apk-build
uses: devmasx/merge-branch@master
with:
type: now
from_branch: master
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}
- name: Merge sneed -> apk-build
uses: devmasx/merge-branch@master
with:
type: now
from_branch: sneed
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}