We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a25ea5 commit 65ce868Copy full SHA for 65ce868
1 file changed
.github/workflows/build.yml
@@ -29,3 +29,30 @@ jobs:
29
- name: Build plugin zip
30
run: |
31
nix develop -c bash tools/build_release.sh wp2static
32
+
33
+ - name: Upload artifact
34
+ if: startsWith(github.ref, 'refs/tags/v')
35
+ uses: actions/upload-artifact@v4
36
+ with:
37
+ name: Plugin
38
+ path: plugin.zip
39
40
+ release:
41
+ name: Create Release
42
+ needs: build
43
44
+ runs-on: ubuntu-latest
45
46
+ steps:
47
+ - name: Download artifact
48
+ uses: actions/download-artifact@v4
49
50
51
+ path: .
52
53
+ - name: Create GitHub Release
54
+ uses: softprops/action-gh-release@v2
55
56
+ files: plugin.zip
57
+ env:
58
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments