Skip to content

Commit

Permalink
Add compatibility with wally (#26)
Browse files Browse the repository at this point in the history
* Ignore temporary files created by wally

* Add package config

* Add wally

* Add package publish action
  • Loading branch information
NobleDraconian authored Mar 18, 2023
1 parent b72affc commit 4836619
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name : Publish system packages to registry
on:
release:
types: [published]

jobs:
package-publish:
name: Publish packages to wally registry
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c

- name: Setup foreman
uses: rojo-rbx/setup-foreman@62bc697705339a6049f74c9d0ff6d39cffc993e5
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish wally packages
env:
WALLY_AUTH: ${{ secrets.WALLY_AUTH }}
run: |
mkdir -p ~/.wally
echo "$WALLY_AUTH" > ~/.wally/auth.toml
wally publish
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
/*.rbxlx
/*.rbxmx
/*.rbxm
/*.rbxl
/*.rbxl
/*.lock
/Packages
1 change: 1 addition & 0 deletions foreman.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[tools]
rojo = {source = "Roblox/rojo", version = "6.0.0-rc.1"}
wally = {source = "upliftgames/wally", version = "=0.3.1"}
8 changes: 8 additions & 0 deletions wally.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "buildthomas/mockdatastoreservice"
description = "Emulation of Roblox's DataStoreService for seamless offline development & testing"
version = "1.0.2"
authors = ["buildthomas"]
realm = "shared"
license = "Apache-2.0"
registry = "https://github.com/UpliftGames/wally-index"

0 comments on commit 4836619

Please sign in to comment.