Skip to content

trigger CI

trigger CI #8

Workflow file for this run

name: "Packages"
on:
pull_request:
types:
- closed
defaults:
run:
shell: bash -l {0}
jobs:
Deployment:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: "Cancel similar actions in progress"
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: "Setup Arturo"
uses: arturo-lang/arturo-action@main
- name: "Checkout"
uses: actions/checkout@main
with:
submodules: recursive
- name: Update package info
run: |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
arturo tools/deploy.art
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish changes
uses: EndBug/add-and-commit@v9
with:
author_name: drkameleon
author_email: yaniszaf@gmail.com
message: 'CI Package Deployment'
add: '*.art'
# jobs:
# build:
# name: "Deploy Packages"
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os:
# - ubuntu-latest
# version:
# - full
# steps:
# - name: "Cancel similar actions in progress"
# uses: styfle/cancel-workflow-action@0.6.0
# with:
# access_token: ${{ github.token }}
# - name: "Setup Arturo"
# uses: arturo-lang/arturo-action@main
# - name: "Checkout"
# uses: actions/checkout@main
# with:
# submodules: recursive
# - name: Run unit tests
# run: |
# echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
# arturo tools/ci.art
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}