Skip to content

Commit

Permalink
Added release action.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMallard committed Aug 12, 2024
1 parent 2024be1 commit 56783d5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Release

on:
push:
tags: ["v*"]

jobs:
create-release:
name: "Create Release"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Create Release
uses: ncipollo/[email protected]
with:
draft: true

build-files:
needs: ["create-release"]
name: "Build files"
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
include:
- file: Iris.rbxm
command: rojo build -o Iris.rbxm ./default.project.json
- file: Iris.rbxl
command: rojo build -o Iris.rbxl ./demo.project.json
- file: Iris.zip
command: zip -r Iris.zip lib
steps:
- uses: actions/checkout@v4

- name: setup-aftman
uses: ok-nick/[email protected]
with:
version: v0.3.0
cache: true

- name: Build file
run: ${{ matrix.command }}

- name: Upload file
uses: svenstaro/[email protected]
with:
file: ${{ matrix.file }}

0 comments on commit 56783d5

Please sign in to comment.