Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5c9b76ba
Commit
5c9b76ba
authored
Jul 18, 2021
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use git hash in workflow
parent
ea987707
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
core.yml
.github/workflows/core.yml
+8
-4
No files found.
.github/workflows/core.yml
View file @
5c9b76ba
...
@@ -43,13 +43,15 @@ jobs:
...
@@ -43,13 +43,15 @@ jobs:
submodules
:
recursive
submodules
:
recursive
-
name
:
Cache libs
-
name
:
Cache libs
uses
:
actions/cache@v2
uses
:
actions/cache@v2
env
:
GIT_HASH
:
$(git rev-parse --short HEAD)
with
:
with
:
path
:
|
path
:
|
build
build
wasm/cache
wasm/cache
key
:
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
HUB_RUN_ID
}}-${{ matrix.script }}
key
:
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
_HASH
}}-${{ matrix.script }}
restore-keys
:
|
restore-keys
:
|
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
HUB_RUN_ID
}}-
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
_HASH
}}-
-
name
:
List cached libs
-
name
:
List cached libs
run
:
ls build/lib ||
true
run
:
ls build/lib ||
true
-
name
:
Build FFMpeg Libs
-
name
:
Build FFMpeg Libs
...
@@ -63,13 +65,15 @@ jobs:
...
@@ -63,13 +65,15 @@ jobs:
submodules
:
recursive
submodules
:
recursive
-
name
:
Cache multiple paths
-
name
:
Cache multiple paths
uses
:
actions/cache@v2
uses
:
actions/cache@v2
env
:
GIT_HASH
:
$(git rev-parse --short HEAD)
with
:
with
:
path
:
|
path
:
|
build
build
wasm/cache
wasm/cache
key
:
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
HUB_RUN_ID
}}-ffmpeg
key
:
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
_HASH
}}-ffmpeg
restore-keys
:
|
restore-keys
:
|
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
HUB_RUN_ID
}}-
${{ env.CACHE_KEY_PREFIX }}-${{ env.GIT
_HASH
}}-
-
name
:
List cached libs
-
name
:
List cached libs
run
:
ls build/lib ||
true
run
:
ls build/lib ||
true
-
name
:
Build FFMpeg
-
name
:
Build FFMpeg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment