Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e1998c28a | ||
|
|
88d2e03f49 | ||
|
|
b5d5a5928c | ||
|
|
7ad6a2451f | ||
|
|
0e20f5bfae | ||
|
|
c01de0a3d2 |
@@ -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
|
||||||
@@ -21,7 +21,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
|
||||||
|
|
||||||
@@ -100,13 +100,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
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
name: Sync Fork with Upstream
|
||||||
|
|
||||||
|
env:
|
||||||
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||||
|
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||||
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
upstream_repo: vindicus999/wivrn
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
|
- name: Add upstream
|
||||||
|
run: |
|
||||||
|
git remote add upstream ${{ env.UPSTREAM_URL }}
|
||||||
|
|
||||||
|
- name: Fetch all
|
||||||
|
run: |
|
||||||
|
git fetch origin
|
||||||
|
git fetch upstream
|
||||||
|
|
||||||
|
- name: Update sync branch
|
||||||
|
run: |
|
||||||
|
git config --global user.email "sneed@feedandse.edu"
|
||||||
|
git config --global user.name "Sneed Chuckinson"
|
||||||
|
git checkout -B sync upstream/master
|
||||||
|
git push origin sync --force
|
||||||
|
|
||||||
|
- name: Copy master -> apk-build
|
||||||
|
run: |
|
||||||
|
git checkout -B apk-build sync
|
||||||
|
git push origin apk-build --force
|
||||||
|
|
||||||
|
- name: Apply sneed changes
|
||||||
|
run: |
|
||||||
|
git merge origin/sneed --no-edit
|
||||||
|
|
||||||
|
- name: Push apk build
|
||||||
|
run: |
|
||||||
|
git push origin apk-build --force
|
||||||
Reference in New Issue
Block a user