aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-06-12 16:15:54 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-06-12 16:15:54 +0200
commita43fe354ec6e6226a41ecfd98cd0343a54e5a428 (patch)
tree0bb759707fb4a8a7f0844327c2b77ba349ea01d5 /.github/workflows/release.yml
parent1327cc0ab0e78d0cfc2fe11fddca8cc32dae8ac6 (diff)
downloadhomer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.tar.gz
homer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.tar.zst
homer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.zip
Simplified & updated CI/CD
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml24
1 files changed, 6 insertions, 18 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 886556d..62c15a8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,7 +10,7 @@ jobs:
10 name: Upload Release Asset 10 name: Upload Release Asset
11 runs-on: ubuntu-latest 11 runs-on: ubuntu-latest
12 steps: 12 steps:
13 - uses: actions/checkout@v2 13 - uses: actions/checkout@v3
14 - name: Build project 14 - name: Build project
15 run: | 15 run: |
16 yarn install 16 yarn install
@@ -20,21 +20,9 @@ jobs:
20 run: zip -r ../homer.zip ./* 20 run: zip -r ../homer.zip ./*
21 - name: Create Release 21 - name: Create Release
22 id: create_release 22 id: create_release
23 uses: actions/create-release@v1 23 uses: softprops/action-gh-release@v1
24 env:
25 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26 with: 24 with:
27 tag_name: ${{ github.ref }} 25 token: ${{ secrets.GITHUB_TOKEN }}
28 release_name: Release ${{ github.ref }} 26 generate_release_notes: true
29 draft: false 27 files: |
30 prerelease: false 28 homer.zip \ No newline at end of file
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