Skip to content

add contributing.json for new site #58

add contributing.json for new site

add contributing.json for new site #58

Workflow file for this run

---
name: Validate Auto Updater
on:
push:
paths:
- 'downloads/hashes.txt.sig'
pull_request:
paths:
- 'downloads/hashes.txt.sig'
jobs:
validate-auto-updater:
name: Validate Auto Updater
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt -y install xvfb libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxcb-shape0 libxkbcommon-x11-0
previous_tag=$(curl -s "https://api.github.com/repos/monero-project/monero-gui/tags" | jq -r '.[1].name')
wget -nv https://dlsrc.getmonero.org/gui/monero-gui-linux-x64-${previous_tag}.tar.bz2
tar -xf monero-gui-linux-x64-${previous_tag}.tar.bz2
mv monero-gui-${previous_tag}/monero-wallet-gui .
rm -rf monero-gui-linux-x64-${previous_tag}.tar.bz2 monero-gui-${previous_tag}
- name: Verify update
run: |
version_gui=$(awk '/monero-gui-source-v/ {print $2}' downloads/hashes.txt | awk -F".tar.bz2" '{print $1}' | awk -F"-" '{print $4}')
wget -nv https://dlsrc.getmonero.org/gui/monero-gui-linux-x64-$version_gui.tar.bz2
cp downloads/hashes.txt .
cp downloads/hashes.txt.sig .
xvfb-run -a ./monero-wallet-gui --verify-update monero-gui-linux-x64-$version_gui.tar.bz2