-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 763 Bytes
/
release.yml
File metadata and controls
42 lines (33 loc) · 763 Bytes
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
34
35
36
37
38
39
40
41
42
permissions:
contents: write
packages: write
pages: write
id-token: write
name: Release
on:
push:
tags:
- "v*" # only run when pushing tags like v1.0.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create zip of repository
run: |
zip -r cell-reminders.zip .
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: cell-reminders.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Make sure your repo is up-to-date
# git pull origin main
# Create a tag
# git tag v1.0.0
# Push the tag to GitHub
# git push origin v1.0.0