diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-10-10 09:23:35 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-10-10 09:23:35 +0200 |
commit | a25e1b1a70649f4a0341056cca0669d4b7d78fb5 (patch) | |
tree | 400c00674b3a776f66e23164619d96bc5bee344a /.github/workflows/main.yml | |
parent | cc26624f395d6ce34e4428c20a0731c6db10de7d (diff) | |
download | homer-a25e1b1a70649f4a0341056cca0669d4b7d78fb5.tar.gz homer-a25e1b1a70649f4a0341056cca0669d4b7d78fb5.tar.zst homer-a25e1b1a70649f4a0341056cca0669d4b7d78fb5.zip |
Auto PR lint
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 886556d..0000000 --- a/.github/workflows/main.yml +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | # Publish pre-build release | ||
2 | name: Upload Release Asset | ||
3 | |||
4 | on: | ||
5 | push: | ||
6 | tags: [v*] | ||
7 | |||
8 | jobs: | ||
9 | build: | ||
10 | name: Upload Release Asset | ||
11 | runs-on: ubuntu-latest | ||
12 | steps: | ||
13 | - uses: actions/checkout@v2 | ||
14 | - name: Build project | ||
15 | run: | | ||
16 | yarn install | ||
17 | yarn build | ||
18 | - name: Create artifact | ||
19 | working-directory: "dist" | ||
20 | run: zip -r ../homer.zip ./* | ||
21 | - name: Create Release | ||
22 | id: create_release | ||
23 | uses: actions/create-release@v1 | ||
24 | env: | ||
25 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
26 | with: | ||
27 | tag_name: ${{ github.ref }} | ||
28 | release_name: Release ${{ github.ref }} | ||
29 | draft: false | ||
30 | prerelease: false | ||
31 | - name: Upload Release Asset | ||
32 | id: upload-release-asset | ||
33 | uses: actions/upload-release-asset@v1 | ||
34 | env: | ||
35 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
36 | with: | ||
37 | upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
38 | asset_path: ./homer.zip | ||
39 | asset_name: homer.zip | ||
40 | asset_content_type: application/zip | ||