Skip to content

Commit

Permalink
add workflow_dispatch to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AridAjd committed May 28, 2024
1 parent c1f96b0 commit 0e18b8d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 54 deletions.
73 changes: 37 additions & 36 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,45 @@ name: Build standalone version
on:
push:
tags:
- 'v*'
- "v*"
workflow_dispatch:

permissions:
contents: write

jobs:
build:
name: New Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Aftman
uses: ok-nick/[email protected]
- name: Install Wally dependencies
run: |
wally install
- name: Format code
run: |
stylua src/
stylua tests/
- name: Build standalone
run: |
rojo build standalone.project.json --output ./Standalone.rbxm
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
./Standalone.rbxm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: New Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Aftman
uses: ok-nick/[email protected]

- name: Install Wally dependencies
run: |
wally install
- name: Format code
run: |
stylua src/
stylua tests/
- name: Build standalone
run: |
rojo build standalone.project.json --output ./Standalone.rbxm
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
./Standalone.rbxm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 changes: 17 additions & 16 deletions .github/workflows/wallypublish.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Publish package to Wally

on:
workflow_dispatch:
release:
types: [published]

jobs:
publish:
name: Publish package to Wally
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Aftman
uses: ok-nick/[email protected]
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Aftman
uses: ok-nick/[email protected]

- name: Log In
env:
WALLY_AUTH: ${{ secrets.WALLY_AUTH_TOKEN }}
run: |
mkdir ~/.wally
printenv WALLY_AUTH > ~/.wally/auth.toml
- name: Log In
env:
WALLY_AUTH: ${{ secrets.WALLY_AUTH_TOKEN }}
run: |
mkdir ~/.wally
printenv WALLY_AUTH > ~/.wally/auth.toml
- name: Publish
run: |
wally publish
- name: Publish
run: |
wally publish
4 changes: 2 additions & 2 deletions docs/guides/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

### GitHub

1. Navigate to the latest release of CanaryEngine on Github, you can find that [here](https://github.com/lumin-rbx/Aegis/releases/)
1. Navigate to the latest release of Aegis on Github, you can find that [here](https://github.com/lumin-dev/Aegis/releases/)
2. Choose `Standalone.rbxm` and download
3. Drag the file from your downloads folder into `ReplicatedStorage`.

### Wally

1. Create a new Git project or open one
2. Add `lumin/aegis@^0.0.1` to your `wally.toml` file
3. Run `wally install` and CanaryEngine should be inside of your `/Packages` directory.
3. Run `wally install` and Aegis should be inside of your `/Packages` directory.

0 comments on commit 0e18b8d

Please sign in to comment.