Skip to content

Commit

Permalink
Update lean-x64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BanKnight authored Apr 8, 2020
1 parent 6e233e7 commit 3cfab68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lean-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
env:
REPO_URL: https://github.com/coolsnowwolf/lede
REPO_BRANCH: master
CONFIG_FILE: .config
CONFIG_FILE: lean-x64.config
DIY_SH: diy.sh
SSH_ACTIONS: false
UPLOAD_BIN_DIR: false
Expand All @@ -48,11 +48,10 @@ jobs:
sudo swapoff /swapfile
sudo rm -rf /swapfile /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo -E apt-get -qq update
sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf
sudo -E apt-get -qq autoremove --purge
sudo -E apt-get -qq clean
curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc
- name: Clone source code
run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt

Expand All @@ -69,7 +68,6 @@ jobs:
chmod +x $DIY_SH
cd openwrt
../$DIY_SH
- name: SSH connection to Actions
uses: P3TERX/debugger-action@master
if: env.SSH_ACTIONS == 'true'
Expand All @@ -82,7 +80,7 @@ jobs:
make download -j8
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
- name: Compile the firmware
id: compile
run: |
Expand Down Expand Up @@ -113,12 +111,14 @@ jobs:
with:
name: x64
path: ${{ env.FIRMWARE }}

- name: Make release tag
id: make_release_tag
if: steps.organize.outputs.status == 'success' && !cancelled()
run: |
release_tag="lean-x64-$(date +%Y-%m-%d)"
echo "##[set-output name=release_tag;]$release_tag"
- name: Upload assets to a Release
uses: svenstaro/upload-release-action@v1-release
if: steps.organize.outputs.status == 'success' && !cancelled()
Expand Down

0 comments on commit 3cfab68

Please sign in to comment.