Skip to content

Commit

Permalink
gh action ng
Browse files Browse the repository at this point in the history
  • Loading branch information
valord577 committed Aug 23, 2024
1 parent 9af4104 commit acf445f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
- name: clone with gh
run: |
gh repo clone ${{ github.repositoryUrl }} . -- --no-checkout --single-branch --depth=1
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}
git checkout FETCH_HEAD
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}; git checkout FETCH_HEAD
- name: set matrix
id: set-matrix
run: |
Expand Down Expand Up @@ -73,12 +72,10 @@ jobs:
- name: clone with gh
run: |
gh repo clone ${{ github.repositoryUrl }} . -- --no-checkout --single-branch --depth=1
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}
git checkout FETCH_HEAD
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}; git checkout FETCH_HEAD
- name: install required software(s)
run: |
brew list -l
brew install ccache nasm
brew list -l; brew install ccache nasm
- name: gh action ccache restore
uses: actions/cache/restore@v4
with:
Expand Down Expand Up @@ -118,8 +115,7 @@ jobs:
- name: clone with gh
run: |
gh repo clone ${{ github.repositoryUrl }} . -- --no-checkout --single-branch --depth=1
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}
git checkout FETCH_HEAD
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}; git checkout FETCH_HEAD
- name: download ${{ github.workflow }} libraries
uses: actions/download-artifact@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: ffmpeg
on:
workflow_dispatch:
inputs:
disable_shared:
default: true
required: false
type: boolean
push:
branches:
- main
Expand Down Expand Up @@ -30,4 +36,5 @@ jobs:
secrets: inherit
uses: ./.github/workflows/_matrix.yml
with:
disable_shared: ${{ inputs.disable_shared }}
disable_upload: true
2 changes: 1 addition & 1 deletion deps/ffmpeg
Submodule ffmpeg updated 570 files
2 changes: 1 addition & 1 deletion scripts/mbedtls.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -ex
set -e

# ----------------------------
# init submodules
Expand Down

0 comments on commit acf445f

Please sign in to comment.