chore: Update alpha.yml workflow to upload installer stub and update manifests

This commit is contained in:
Mauro Balades
2024-07-11 21:26:53 +02:00
parent 42218242e2
commit 18407288ea
2 changed files with 19 additions and 26 deletions

View File

@@ -361,12 +361,6 @@ jobs:
ls ./dist
ls .
#- name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: zen.installer.exe
# path: ./dist/zen.installer.exe
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
@@ -385,6 +379,12 @@ jobs:
name: zen.installer.exe
path: ./dist/zen.installer.exe
- name: Upload installer stub
uses: actions/upload-artifact@v3
with:
name: zen.installer.pretty.exe
path: ./dist/zen.installer.pretty.exe
- name: Upload update manifests
uses: actions/upload-artifact@v3
with:
@@ -578,12 +578,17 @@ jobs:
linux.mar
windows.mar
zen.installer.exe
zen.installer.pretty.exe
- name: List
run: find .
- name: Clone updates repo
run: git clone https://github.com/zen-browser/updates-server.git
uses: actions/checkout@v3
with:
repository: zen-browser/updates-server
path: updates-server
token: ${{ secrets.DEPLOY_KEY }}
- name: Copy update manifests
run: |
@@ -592,22 +597,10 @@ jobs:
cp -a ../linux_update_manifest/. updates/browser/
cp -a ../windows_update_manifest/. updates/browser/
- name: Setup SSH Keys and known_hosts
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🚀 Update update manifests
commit_user_name: Zen Browser Robot
commit_user_email: zen-browser-bot@users.noreply.github.com
repository: ./updates-server
- name: Commit update manifests
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
git config --global user.email "zen-browser-bot@users.noreply.github.com"
git config --global user.name "zen-browser-bot"
git add .
git commit -m "Update manifests for ${{ needs.build-data.outputs.version }}"
git remote set-url origin git@github.com:zen-browser/updates-server.git
git push

View File

@@ -27,7 +27,7 @@
"brandShortName": "Zen Browser",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "0.0.0-a.3",
"displayVersion": "0.0.0-a.2",
"github": {
"repo": "zen-browser/desktop"
},