Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

0.1.3

0.1.3 #4

Workflow file for this run

name: Publish Package
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish-package:
if: ${{ github.events.release.prerelease == false }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name }}
- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.3.0
- name: Report Tool Versions
run: |
aftman -V
aftman list
- name: Install Dependencies
run: wally install
- name: Remove Tests
run: find . -name "*.spec.lua" -delete
- name: Publish to Wally
env:
WALLY_TOKEN: ${{ secrets.WALLY_TOKEN }}
run: |
mkdir -p ~/.wally
printf "[tokens]\n\"https://api.wally.run/\" = \"%s\"" "$WALLY_TOKEN" >> ~/.wally/auth.toml
wally publish