We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7de9ecc commit 3a1743fCopy full SHA for 3a1743f
1 file changed
.github/workflows/scoop-update.yml.disabled
@@ -0,0 +1,32 @@
1
+name: Update Scoop Manifest
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ update:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout Scoop Bucket
12
+ uses: actions/checkout@v4
13
+ with:
14
+ repository: obay/scoop-bucket
15
+ token: ${{ secrets.SCOOP_BUCKET_TOKEN }}
16
+ path: scoop-bucket
17
18
+ - name: Download Release Asset
19
+ uses: actions/download-artifact@v4
20
21
+ name: scoop-manifest
22
23
24
+ - name: Commit and Push
25
+ run: |
26
+ cd scoop-bucket
27
+ git config user.name "github-actions[bot]"
28
+ git config user.email "github-actions[bot]@users.noreply.github.com"
29
+ git add .
30
+ git commit -m "Update hsctl to ${{ github.event.release.tag_name }}" || exit 0
31
+ git push
32
0 commit comments