File tree Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Release
1
+ name : Releases
2
2
3
3
on :
4
4
push :
5
- branches : ['master']
5
+ tags :
6
+ - ' *'
6
7
7
8
jobs :
8
9
release :
9
10
name : Release
10
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : write
14
+
11
15
steps :
12
16
- name : Check out the repo
13
- uses : actions/checkout@v4
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Create Zip Archive
20
+ run : |
21
+ mkdir -p build
22
+ (cd src && zip -r ../build/built-with-tailwind-css.zip .)
14
23
15
- - name : Actual Release
16
- uses : ' marvinpinto/action-automatic-releases@latest '
24
+ - name : Create Release
25
+ uses : ncipollo/release-action@v1
17
26
with :
18
- repo_token : ${{ secrets.CR_PAT_BUILT_WITH_TAILWIND_CSS }}
19
- automatic_release_tag : 2.0.0
27
+ token : ${{ secrets.GITHUB_TOKEN }}
28
+ tag : ${{ github.ref_name }}
29
+ name : Release v${{ github.ref_name }}
30
+ artifacts : " build/built-with-tailwind-css.zip"
31
+ replacesArtifacts : true
20
32
draft : false
21
33
prerelease : false
22
- files : built-with-tailwind-css.zip
23
- title : ${{ steps.package-version.outputs.current-version}}
34
+ body : |
35
+ **New Release v${{ github.ref_name }} - Built with Tailwind CSS**
36
+ - Detects Tailwind CSS use in a web page.
37
+ - Includes the latest updates to the Built with Tailwind CSS extension.
You can’t perform that action at this time.
0 commit comments