Skip to content

Commit fc78ca1

Browse files
authored
Merge pull request #101 from osociety/dev
Dev -> Main
2 parents f53eaa5 + 7656f45 commit fc78ca1

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.github/workflows/automerge.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Automerge
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# You can setup schedule here
7+
- cron: '30 5,17 * * *'
8+
9+
env:
10+
MY_REPO: https://git-elliot:${{secrets.GITHUB_TOKEN}}@github.com/osociety/vernet.git
11+
12+
MY_BRANCH: dev
13+
14+
MASTER_REPO: https://github.com/osociety/vernet.git
15+
16+
MASTER_BRANCH: main
17+
18+
jobs:
19+
merge:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Merge with dev
24+
run: |
25+
git clone ${{env.MY_REPO}} -b ${{env.MY_BRANCH}} tmp
26+
cd tmp
27+
git config user.name "Automerge Bot"
28+
git config user.email "bot@example.com"
29+
git config pull.rebase false
30+
git pull ${{env.MASTER_REPO}} ${{env.MASTER_BRANCH}}
31+
git push

.github/workflows/flutter_release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ jobs:
116116
type: 'zip'
117117
filename: Vernet-${{github.ref_name}}-macos.zip
118118
directory: build/macos/Build/Products/Release/
119+
path: vernet.app
119120

120121
- name: macOS Release
121122
uses: softprops/action-gh-release@v1
@@ -150,13 +151,14 @@ jobs:
150151
with:
151152
type: 'zip'
152153
filename: Vernet-${{github.ref_name}}-windows.zip
153-
directory: build/windows/runner/Release
154+
directory: build/windows/x64/runner/Release/
155+
path: vernet.exe
154156

155-
- name: macOS Release
157+
- name: Windows Release
156158
uses: softprops/action-gh-release@v1
157159
if: startsWith(github.ref, 'refs/tags/')
158160
env:
159161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160162
with:
161-
files: build/windows/runner/Release/Vernet-${{github.ref_name}}-windows.zip
163+
files: build/windows/x64/runner/Release/Vernet-${{github.ref_name}}-windows.zip
162164

0 commit comments

Comments
 (0)