Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rfuzzo authored Nov 8, 2022
1 parent b037940 commit 94eaece
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
tags:
- '*'

jobs:
build:
runs-on: windows-2022

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3

# zip
- run: Compress-Archive -Path ./red.kark -DestinationPath ./resources-${{github.ref_name}}.zip

# RELEASE
- name: Release tag
uses: softprops/action-gh-release@v1
with:
draft: true
files: "./resources-${{github.ref_name}}.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 94eaece

Please sign in to comment.