forked from trflynn89/gnome-shell-volume-scroller
-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (26 loc) · 817 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Create Release Package
on:
push:
tags:
- '*'
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Version
id: version
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Package Name
id: package
run: echo "[email protected].${{ steps.version.outputs.tag }}.shell-extension.zip" >> $GITHUB_OUTPUT
- name: Create Package
run: |
zip -r ../${{ steps.package.outputs.package }} .
- name: Upload Package
uses: softprops/action-gh-release@v1
with:
files: ${{ steps.package.outputs.package }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}