hammer/.github/workflows/release.yml
marked b4cc94f369 packaging: Add pesde support, feat: Add searching and clearing to ref
+ Added pesde support

+ Added `.search()` to `ref` and made `ref()` (`.set_ref()`) & `.search()` return a clearer which removes the reference

+ Bumped to 0.1.6
2024-11-12 17:31:07 +01:00

79 lines
1.6 KiB
YAML

name: Release
on:
push:
tags: ["v*"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Install Rokit
uses: CompeyDev/setup-rokit@v0.1.2
- name: Build
run: |
lune run build
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: build
path: build.rbxm
release:
name: Release
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download Build
uses: actions/download-artifact@v3
with:
name: build
path: build
- name: Rename Build
run: mv build/build.rbxm jecs_utils.rbxm
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Jecs Utils ${{ github.ref_name }}
files: |
jecs_utils.rbxm
publish:
name: Publish
needs: [release]
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Install Rokit
uses: CompeyDev/setup-rokit@v0.1.2
- name: Prepare for Distribution
run: |
lune run dist
- name: Wally Login
run: wally login --token ${{ secrets.WALLY_AUTH_TOKEN }}
- name: Wally Publish
run: wally publish
- name: Pesde Login
run: pesde auth login --token "Bearer ${{ secrets.WALLY_AUTH_TOKEN }}"
- name: Pesde Publish
run: pesde publish