mirror of https://github.com/procxx/kepka.git
Updated checkout Github Action to v2.
This commit is contained in:
parent
9a78c94d7e
commit
1a5ee99c8a
|
@ -40,11 +40,6 @@ jobs:
|
||||||
- name: Get repository name.
|
- name: Get repository name.
|
||||||
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
||||||
|
|
||||||
- name: Clone.
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Disable man for further package installs.
|
- name: Disable man for further package installs.
|
||||||
run: |
|
run: |
|
||||||
cfgFile="/etc/dpkg/dpkg.cfg.d/no_man"
|
cfgFile="/etc/dpkg/dpkg.cfg.d/no_man"
|
||||||
|
@ -57,17 +52,13 @@ jobs:
|
||||||
p locale
|
p locale
|
||||||
p doc
|
p doc
|
||||||
|
|
||||||
- name: First set up.
|
- name: Apt install.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
|
||||||
mv $REPO_NAME temp
|
|
||||||
mkdir $REPO_NAME
|
|
||||||
mv temp $REPO_NAME/$REPO_NAME
|
|
||||||
cd $REPO_NAME
|
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install software-properties-common -y && \
|
sudo apt-get install software-properties-common -y && \
|
||||||
|
sudo add-apt-repository ppa:git-core/ppa -y && \
|
||||||
|
sudo apt-get update && \
|
||||||
sudo apt-get install git libexif-dev liblzma-dev libz-dev libssl-dev \
|
sudo apt-get install git libexif-dev liblzma-dev libz-dev libssl-dev \
|
||||||
libgtk2.0-dev libice-dev libsm-dev libicu-dev libdrm-dev dh-autoreconf \
|
libgtk2.0-dev libice-dev libsm-dev libicu-dev libdrm-dev dh-autoreconf \
|
||||||
autoconf automake build-essential libxml2-dev libass-dev libfreetype6-dev \
|
autoconf automake build-essential libxml2-dev libass-dev libfreetype6-dev \
|
||||||
|
@ -86,6 +77,15 @@ jobs:
|
||||||
sudo update-alternatives --config gcc && \
|
sudo update-alternatives --config gcc && \
|
||||||
sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test -y
|
sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test -y
|
||||||
|
|
||||||
|
- name: Clone.
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
path: ${{ env.REPO_NAME }}
|
||||||
|
|
||||||
|
- name: First set up.
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
gcc --version
|
gcc --version
|
||||||
|
|
||||||
gcc --version > CACHE_KEY.txt
|
gcc --version > CACHE_KEY.txt
|
||||||
|
|
|
@ -42,18 +42,13 @@ jobs:
|
||||||
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
||||||
|
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
path: ${{ env.REPO_NAME }}
|
||||||
|
|
||||||
- name: First set up.
|
- name: First set up.
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
|
||||||
mv $REPO_NAME temp
|
|
||||||
mkdir $REPO_NAME
|
|
||||||
mv temp $REPO_NAME/$REPO_NAME
|
|
||||||
cd $REPO_NAME
|
|
||||||
|
|
||||||
brew install automake fdk-aac lame libass libtool libvorbis libvpx \
|
brew install automake fdk-aac lame libass libtool libvorbis libvpx \
|
||||||
ninja opus sdl shtool texi2html theora x264 xvid yasm pkg-config
|
ninja opus sdl shtool texi2html theora x264 xvid yasm pkg-config
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
|
@ -38,19 +38,14 @@ jobs:
|
||||||
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
run: echo ::set-env name=REPO_NAME::${GITHUB_REPOSITORY##*/}
|
||||||
|
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
path: ${{ env.REPO_NAME }}
|
||||||
|
|
||||||
- name: Set up environment variables.
|
- name: Set up environment variables.
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
|
||||||
move %REPO_NAME% temp
|
|
||||||
mkdir %REPO_NAME%
|
|
||||||
move temp %REPO_NAME%/%REPO_NAME%
|
|
||||||
cd %REPO_NAME%
|
|
||||||
|
|
||||||
echo ::add-path::C:\Strawberry\perl\bin\
|
echo ::add-path::C:\Strawberry\perl\bin\
|
||||||
echo ::add-path::"%programfiles%\NASM"
|
echo ::add-path::"%programfiles%\NASM"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue