From 5faf2c8b4dd671e3d7f8dfc7874c0a685e93eb4f Mon Sep 17 00:00:00 2001 From: Lunar Starstrum Date: Tue, 9 Jul 2024 13:42:31 -0500 Subject: [PATCH] Upload binaries as GitHub Artifacts --- .github/workflows/opus.yml | 8 ++++++++ .github/workflows/sodium.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/opus.yml b/.github/workflows/opus.yml index 6d4e0dd..6ce9c11 100644 --- a/.github/workflows/opus.yml +++ b/.github/workflows/opus.yml @@ -7,6 +7,9 @@ on: paths: - '.github/workflows/opus.yml' - '.github/scripts/package-opus.sh' + # Once every 2 months + schedule: + - cron: '0 0 1 */2 *' permissions: contents: write @@ -165,6 +168,11 @@ jobs: message: Update Opus ${{ matrix.config.rid }} to ${{ steps.build.outputs.version }} pull: "--rebase --autostash" push: true + - name: "Upload Artifact" + uses: actions/upload-artifact@v4 + with: + name: opus-${{ steps.build.outputs.version }}-${{ matrix.config.rid }} + path: libs/libopus/${{ matrix.config.rid }}/native/${{ matrix.config.file }} update-version: name: Update .NET project version needs: build diff --git a/.github/workflows/sodium.yml b/.github/workflows/sodium.yml index dd50c2b..fbddfa7 100644 --- a/.github/workflows/sodium.yml +++ b/.github/workflows/sodium.yml @@ -7,6 +7,9 @@ on: paths: - '.github/workflows/sodium.yml' - '.github/scripts/package-sodium.sh' + # Once every 2 months + schedule: + - cron: '0 0 1 */2 *' permissions: contents: write @@ -139,6 +142,11 @@ jobs: message: Update Sodium ${{ matrix.config.rid }} to ${{ steps.build.outputs.version }} pull: "--rebase --autostash" push: true + - name: "Upload Artifact" + uses: actions/upload-artifact@v4 + with: + name: sodium-${{ steps.build.outputs.version }}-${{ matrix.config.rid }} + path: libs/libopus/${{ matrix.config.rid }}/native/${{ matrix.config.file }} update-version: name: Update .NET project version needs: build