Fix client cosmetics equipping #169
This file contains hidden or 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: Releases | |
| on: | |
| workflow_dispatch: | |
| push: | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Main | |
| uses: actions/checkout@v3 | |
| - name: Setup Aftman | |
| uses: ok-nick/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Aftman Toolchains | |
| run: aftman install | |
| - name: Install Dependencies | |
| run: wally install | |
| - name: Create Packages Directory | |
| run: mkdir -p Packages | |
| - name: Build package rbxm | |
| run: rojo build -o Avalog.rbxm pack.project.json | |
| - name: Upload package rbxm as build artifact | |
| uses: actions/[email protected] | |
| with: | |
| name: Avalog | |
| path: Avalog.rbxm | |
| - name: Get Release from wally.toml | |
| uses: SebRollen/[email protected] | |
| id: read_toml | |
| with: | |
| file: "wally.toml" | |
| field: "package.version" | |
| - name: Publish to Wally | |
| env: | |
| WALLY_TOKEN: ${{ secrets.WALLY_AUTH_TOKEN }} | |
| run: | | |
| mkdir =p ~/.wally | |
| printf "[tokens]\n\"https://api.wally.run/\" = \"%s\"" "$WALLY_TOKEN" >> ~/.wally/auth.toml | |
| wally publish | |
| - name: Release | |
| uses: softprops/[email protected] | |
| with: | |
| name: ${{ steps.read_toml.outputs.value }} | |
| tag_name: ${{ steps.read_toml.outputs.value }} | |
| files: Avalog.rbxm | |
| generate_release_notes: true | |
| draft: true | |
| overwrite_files: false | |
| development: | |
| if: ${{ github.ref == 'refs/heads/dev' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout development | |
| uses: actions/checkout@v3 | |
| - name: Setup Aftman | |
| uses: ok-nick/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Aftman Toolchains | |
| run: aftman install | |
| - name: Install Dependencies | |
| run: wally install | |
| - name: Create Packages Directory | |
| run: mkdir -p Packages | |
| - name: Build test-pack.rbxm | |
| run: rojo build -o test-pack.rbxm pack.project.json | |
| - name: Upload test-pack.rbxm as build artifact | |
| uses: actions/[email protected] | |
| with: | |
| name: Avalog | |
| path: test-pack.rbxm |