-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 898 Bytes
/
cd.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: cd
on:
push:
tags:
- "*.*.*"
permissions:
# without these perms the Deploy release step fails
contents: "write"
packages: "write"
jobs:
tagged-release:
name: Tagged Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Build action
id: builder
uses: 2bndy5/rmskin-action@v1.1.5
- name: Upload rmskin
uses: actions/upload-artifact@v2.2.4
with:
name: ${{ steps.builder.outputs.arc_name }}
path: ${{ github.workspace }}/${{ steps.builder.outputs.arc_name }}
- name: Deploy release
uses: marvinpinto/action-automatic-releases@latest
with:
prerelease: false
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: |
${{ github.workspace }}/${{ steps.builder.outputs.arc_name }}