Action test #32
33
.github/workflows/main.yml
vendored
Normal file
33
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the master branch
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop-1.8 ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ develop-1.8 ]
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
# This workflow contains a single job called "build"
|
||||||
|
build:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Runs a single command using the runners shell
|
||||||
|
- name: Run a one-line script
|
||||||
|
run: ls
|
||||||
|
|
||||||
|
# Runs a set of commands using the runners shell
|
||||||
|
- name: Run a multi-line script
|
||||||
|
run: |
|
||||||
|
date
|
||||||
|
echo test, and deploy your project.
|
||||||
@@ -15,4 +15,5 @@
|
|||||||
## Install
|
## Install
|
||||||
```
|
```
|
||||||
pastebin run uzghlbnc
|
pastebin run uzghlbnc
|
||||||
|
reboot
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ local function run(file, ...)
|
|||||||
end
|
end
|
||||||
|
|
||||||
_G._syslog = function() end
|
_G._syslog = function() end
|
||||||
_G.OPUS_BRANCH = 'develop-1.8'
|
_G.OPUS_BRANCH = 'master-1.8'
|
||||||
|
|
||||||
-- Install require shim
|
-- Install require shim
|
||||||
_G.requireInjector = run('sys/modules/opus/injector.lua')
|
_G.requireInjector = run('sys/modules/opus/injector.lua')
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ if _G._GIT_API_KEY then
|
|||||||
TREE_URL = TREE_URL .. '&access_token=' .. _G._GIT_API_KEY
|
TREE_URL = TREE_URL .. '&access_token=' .. _G._GIT_API_KEY
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local fs = _G.fs
|
||||||
|
local os = _G.os
|
||||||
|
|
||||||
function git.list(repository)
|
function git.list(repository)
|
||||||
local t = Util.split(repository, '(.-)/')
|
local t = Util.split(repository, '(.-)/')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user