Update publish.yaml #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
name: Publish Weaver | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install Rokit | |
uses: kalrnlo/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish Repo to Wally | |
shell: bash | |
run: | | |
mkdir -p ~/.wally | |
echo "$WALLY_AUTH" > ~/.wally/auth.toml | |
cd src | |
wally publish | |
env: | |
WALLY_AUTH: ${{ secrets.WALLY_AUTH }} | |
- name: Build and Publish to Roblox | |
shell: bash | |
run: rojo build main.project.json -o .lune/Weaver.rbxm | |
- name: Publish Module to Marketplace | |
shell: bash | |
run: | | |
cd .lune | |
lune run build.luau | |
env: | |
LUNE_AUTH: ${{ secrets.LUNE_AUTH }} | |
- name: Get Version | |
id: get_version | |
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
- name: Package Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: Release ${{ steps.get_version.outputs.VERSION }} | |
body_path: log.md | |
fail_on_unmatched_files: true | |
files: | | |
Weaver.rbxm |