diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f39896..e591a4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: - name: "Install tools" run: | sudo apt-get update - sudo apt-get install p7zip-full qrencode -y + sudo apt-get install p7zip-full -y curl -L https://github.com/Steveice10/bannertool/releases/download/1.1.0/bannertool.zip -o bannertool.zip sudo 7z e bannertool.zip linux-x86_64/bannertool @@ -69,7 +69,7 @@ jobs: sudo apt-get update sudo apt-get install qrencode -y - name: "Checkout repo" - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Download artifacts uses: actions/download-artifact@v2 with: @@ -100,6 +100,7 @@ jobs: mkdir -p extras/builds/Universal-Updater/ qrencode -o extras/builds/Universal-Updater/Universal-Updater-release.png https://github.com/Universal-Team/Universal-Updater/releases/download/$(git describe --abbrev=0 --tags)/Universal-Updater.cia cd extras/builds/Universal-Updater/ + qrencode -o Universal-Updater.png https://github.com/Universal-Team/extras/raw/v$CURRENT_DATE/builds/Universal-Updater/Universal-Updater.cia cp ${{ github.workspace }}/build/* . git stage . git commit -m "Universal-Updater | $COMMIT_TAG" @@ -137,6 +138,8 @@ jobs: CURRENT_DATE: ${{ needs.publish_build_twlbot.outputs.current_date }} TWLBOT_COMMIT: ${{ needs.publish_build_twlbot.outputs.twlbot_commit }} steps: + - name: "Checkout repo" + uses: actions/checkout@v2 - name: "Send success webhook" if: ${{ success() }} run: |