Skip to content

Commit

Permalink
sdfasdfas
Browse files Browse the repository at this point in the history
  • Loading branch information
ouhaiorg authored May 14, 2020
1 parent 780c1f3 commit 8e5d81a
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,6 @@ jobs:
curl https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed '/#/d' | sed 's/\\//g' | sed 's/exit 0//g' | sed 's/sudo apt -y install//g' | sed 's/sudo apt-get -y install//g' | sed 's/:i386//g' | xargs sudo apt-get -y --no-install-recommends install
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
- name: Install Repo
run: |
git clone https://github.com/friendlyarm/repo
sudo cp repo/repo /usr/bin/
- name: Init Source
run: |
mkdir friendlywrt-rk3328
cd friendlywrt-rk3328
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1
repo sync -c --no-tags --no-clone-bundle -j8
cd friendlywrt/ && git fetch --unshallow
- name: Patch Kernel
run: |
. patch_kernel_5.4.sh
- name: SSH connection to Actions
uses: P3TERX/debugger-action@master
if: env.SSH_ACTIONS == 'true'

- name: Prepare Files
run: |
mkdir ./friendlywrt-rk3328/
Expand Down Expand Up @@ -84,7 +63,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ouhai002 }}
GITHUB_TOKEN: ${{ secrets.ouhai }}
with:
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
Expand All @@ -95,7 +74,7 @@ jobs:
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.ouhai002 }}
GITHUB_TOKEN: ${{ secrets.ouhai }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./artifact.zip
Expand Down

0 comments on commit 8e5d81a

Please sign in to comment.