forked from archlinux/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 928 Bytes
/
trigger-release.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
34
35
36
37
38
39
40
---
name: "manually-trigger-release"
on:
workflow_dispatch:
inputs:
tag:
description: 'Test scenario tags'
required: false
type: string
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
ref: $GITHUB_REF_NAME
- name: Pack archive
run: |
tar -caf archlinux-linux-$GITHUB_REF_NAME.tar.gz *
sha512sum archlinux-linux-$GITHUB_REF_NAME.tar.gz.sha512
- name: "Release"
run: |
echo "done!"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
archlinux-linux-$GITHUB_REF_NAME.tar.gz
archlinux-linux-$GITHUB_REF_NAME.tar.gz.sha512