Skip to content

Add error for use https client #302

Add error for use https client

Add error for use https client #302

Workflow file for this run

# Workflow's name
name: macos-clang
# Run this workflow every time a new commit pushed to your repository
on: [push, pull_request]
jobs:
macos-clang:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup premake
uses: abel0b/setup-premake@v2.2
with:
version: "5.0.0-beta1"
- name: Build
run: |
chmod +x build.sh
./build.sh
- name: Test
run: chmod +x moon && ./moon test/main_test.lua
- name: Publish
run: |
mkdir publish
cp -r lualib publish/
cp -r service publish/
cp -r example publish/
cp -r test publish/
cp moon publish/
tar -zcvf darwin-amd64.tar.gz -C publish .
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: darwin-amd64-${{ github.sha }}
path: publish/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: darwin-amd64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}