+14
-19
lines changedFilter options
+14
-19
lines changed Original file line number Diff line number Diff line change
@@ -7,9 +7,6 @@ on:
7
7
permissions:
8
8
contents: read
9
9
10
-
# I used the following project as template to get started:
11
-
# https://github.com/dessant/search-by-image/blob/master/.github/workflows/ci.yml
12
-
13
10
jobs:
14
11
build:
15
12
permissions:
@@ -25,35 +22,33 @@ jobs:
25
22
- name: Clone uAssets
26
23
run: |
27
24
tools/pull-assets.sh
28
-
- name: Build MV2 packages
29
-
run: |
30
-
tools/make-chromium.sh ${{ steps.release_info.outputs.VERSION }}
31
-
tools/make-firefox.sh ${{ steps.release_info.outputs.VERSION }}
32
-
tools/make-thunderbird.sh ${{ steps.release_info.outputs.VERSION }}
33
-
tools/make-npm.sh ${{ steps.release_info.outputs.VERSION }}
34
-
# https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
35
25
- name: Get release information
36
-
id: release_info
37
26
run: |
38
-
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
27
+
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
28
+
- name: Build MV2 packages
29
+
run: |
30
+
tools/make-chromium.sh ${{ env.VERSION }}
31
+
tools/make-firefox.sh ${{ env.VERSION }}
32
+
tools/make-thunderbird.sh ${{ env.VERSION }}
33
+
tools/make-npm.sh ${{ env.VERSION }}
39
34
- name: Assemble release notes
40
35
run: |
41
36
> release.body.txt
42
37
grep -m1 -B10000 -- "----------" CHANGELOG.md >> release.body.txt
43
-
sed -e 's/%version%/${{ steps.release_info.outputs.VERSION }}/g' RELEASE.HEAD.md >> release.body.txt
38
+
sed -e 's/%version%/${{ env.VERSION }}/g' RELEASE.HEAD.md >> release.body.txt
44
39
- name: Create GitHub release
45
40
id: create_release
46
41
uses: softprops/action-gh-release@v2
47
42
env:
48
43
GITHUB_TOKEN: ${{ github.token }}
49
44
with:
50
-
tag_name: ${{ steps.release_info.outputs.VERSION }}
51
-
name: ${{ steps.release_info.outputs.VERSION }}
45
+
tag_name: ${{ env.VERSION }}
46
+
name: ${{ env.VERSION }}
52
47
draft: true
53
48
prerelease: true
54
49
body_path: release.body.txt
55
50
files: |
56
-
dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.chromium.zip
57
-
dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.firefox.xpi
58
-
dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.thunderbird.xpi
59
-
dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.npm.tgz
51
+
dist/build/uBlock0_${{ env.VERSION }}.chromium.zip
52
+
dist/build/uBlock0_${{ env.VERSION }}.firefox.xpi
53
+
dist/build/uBlock0_${{ env.VERSION }}.thunderbird.xpi
54
+
dist/build/uBlock0_${{ env.VERSION }}.npm.tgz
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4