Skip to content

Commit caf7a3b

Browse files
authored
Create blank.yml
1 parent 56e13d9 commit caf7a3b

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

.github/workflows/blank.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Android Tools AppImage
2+
concurrency:
3+
group: build-${{ github.ref }}
4+
cancel-in-progress: true
5+
6+
on:
7+
schedule:
8+
- cron: "0 16 1/2 * *"
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: build
18+
run: |
19+
sudo apt update
20+
sudo apt install libfuse2
21+
wget https://raw.githubusercontent.com/Samueru-sama/android-tools-AppImage/main/android-tools-appimage.sh
22+
chmod a+x ./android-tools-appimage.sh
23+
./android-tools-appimage.sh
24+
mkdir dist
25+
cd ./platform-tools
26+
mv *AppImage dist/
27+
28+
- name: Upload artifact
29+
uses: actions/upload-artifact@v1.0.0
30+
with:
31+
name: Android-Tools.AppImage
32+
path: 'dist'
33+
34+
release:
35+
needs: [build]
36+
permissions: write-all
37+
runs-on: ubuntu-latest
38+
39+
steps:
40+
- uses: actions/download-artifact@v1
41+
with:
42+
name: Android-Tools.AppImage
43+
44+
- name: release
45+
uses: marvinpinto/action-automatic-releases@latest
46+
with:
47+
title: Continuous build
48+
automatic_release_tag: continuous
49+
prerelease: false
50+
draft: false
51+
files: |
52+
Android-Tools.AppImage
53+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)