Skip to content

Commit

Permalink
Upload binaries as GitHub Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Jul 9, 2024
1 parent 17f1a23 commit 5faf2c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/opus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/sodium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5faf2c8

Please sign in to comment.