diff --git a/.github/workflows/build-PKGBUILDs.yml b/.github/workflows/build-PKGBUILDs.yml index 9d171c1..7e3785b 100644 --- a/.github/workflows/build-PKGBUILDs.yml +++ b/.github/workflows/build-PKGBUILDs.yml @@ -67,12 +67,12 @@ jobs: - name: Build packages run: ${{ env.BUILD_ALARM_SH }} 'cd /build/ && ./build.sh qcom qcom "${{ secrets.GPG_PASSPHRASE }}"' ${{ env.BUILD_ALARM_SH }} 'ls /build/repo/qcom' - ${{ env.BUILD_ALARM_SH }} 'tar -cvf /build/"${{ env.RELEASE }}"-logs.tar /build/build/logs' + ${{ env.BUILD_ALARM_SH }} 'cd /build/ && ls / && tar -cvf logs.tar /build/logs' - name: create artifact uses: actions/upload-artifact@v4 with: name: ${{ env.RELEASE }}-logs - path: ./builder/build/${{ env.RELEASE }}-logs.tar # or path/to/artifact + path: ./builder/build/logs.tar # or path/to/artifact - name: create release uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/build-arch-firmware.yml b/.github/workflows/build-arch-firmware.yml index 5eaf384..6750ae5 100644 --- a/.github/workflows/build-arch-firmware.yml +++ b/.github/workflows/build-arch-firmware.yml @@ -62,14 +62,21 @@ jobs: uses: actions/download-artifact@v4 with: name: linux-firmware-aarch64-latest + + - name: ls artifacts + run: | + ls ./ - - name: Upload assets - uses: svenstaro/upload-release-action@v2 + - name: create release + uses: softprops/action-gh-release@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - repo_token: ${{ secrets.BUILD_TOKEN }} - file: ./*-latest/* - tag: ${{ github.ref }} - overwrite: true - file_glob: true + body: ${{ github.ref }} + tag_name: ${{ github.ref }} + draft: false + prerelease: false + files: | + ./*-latest/*