Compare commits

..

No commits in common. "main" and "v25.01" have entirely different histories.
main ... v25.01

2 changed files with 3 additions and 32 deletions

View File

@ -19,33 +19,13 @@ jobs:
outputs: outputs:
br_version: ${{ env.br_version }} br_version: ${{ env.br_version }}
steps: steps:
- name: Compare Versions
run: |
GITHUB_REPO="darthcloud/BlueRetro"
GITHUB_VERSION=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/releases/latest" | jq -r .tag_name)
echo "GitHub Latest Version: $GITHUB_VERSION"
echo "GITHUB_VERSION=$GITHUB_VERSION" >> $GITEA_ENV
GITEA_URL="https://git.sthope.dev"
GITEA_REPO="sthope/blueretro"
GITEA_VERSION=$(curl -s "$GITEA_URL/api/v1/repos/$GITEA_REPO/releases/latest" -H 'accept: application/json' | jq -r '.tag_name')
echo "Gitea Latest Version: $GITEA_VERSION"
echo "GITEA_VERSION=$GITEA_VERSION" >> $GITEA_ENV
if [ "$(printf '%s\n' "$GITEA_VERSION" "$GITHUB_VERSION" | sort -V | head -n1)" = "$GITHUB_VERSION" ]; then
echo "❌❌GitHub release is older or the same. Stopping workflow.❌❌"
exit 1
else
echo "✅✅GitHub release is newer. Continuing workflow.✅✅"
PB_TOKEN="${{ secrets.PB_TOKEN }}"
curl -u ${PB_TOKEN}: -X POST https://api.pushbullet.com/v2/pushes \
--header 'Content-Type: application/json' \
--data-binary '{"type": "note", "title": "Title", "Blueretro": "Blueretro new: $GITHUB_VERSION"}'
fi
- name: Clone Repository - name: Clone Repository
run: | run: |
git clone --recursive https://github.com/darthcloud/BlueRetro.git ${{ github.workspace }} git clone --recursive https://github.com/darthcloud/BlueRetro.git ${{ github.workspace }}
cd ${{ github.workspace }} cd ${{ github.workspace }}
GITHUB_REPO="darthcloud/BlueRetro"
GITHUB_VERSION=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/releases/latest" | jq -r .tag_name)
echo "BLUERETRO_VERSION=${GITHUB_VERSION}" >> $GITEA_ENV echo "BLUERETRO_VERSION=${GITHUB_VERSION}" >> $GITEA_ENV
echo ${BLUERETRO_VERSION} echo ${BLUERETRO_VERSION}

View File

@ -1,11 +1,2 @@
# [BlueRetro](https://github.com/darthcloud/BlueRetro) # blueretro
### BOM
| ITEM | URL |
| :--------------------- | :------------------------------- |
| PSX/PS2 Male Connector | https://u.sthope.dev/KwK5M |
| ESP32 38pins | https://u.sthope.dev/esp32_38pin |
| 4x M2 Bolts | |
| 4x M2 Nuts | |