Skip to content

Update package code action #6

Update package code action

Update package code action #6

Workflow file for this run

name: ubuntu_latest
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Ubuntu_Latest",
os: ubuntu-latest
}
steps:
- name: Checkout Repository and Submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Move module into root
run: mv py_instrument_control_lib/* .
- name: Delete unneeded files
run: rm -r pyproject.toml specifications py_instrument_control_lib
- name: ls
run: ls
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
# Determines the way the action fills missing author name and email. Three options are available:
# - github_actor -> UserName <UserName@users.noreply.github.com>
# - user_info -> Your Display Name <your-actual@email.com>
# - github_actions -> github-actions <email associated with the github logo>
# Default: github_actor
default_author: github_actor
# Arguments for the git fetch command. If set to false, the action won't fetch the repo.
# For more info as to why fetching is usually recommended, please see the "Performance on large repos" FAQ.
# Default: --tags --force
fetch: false
# The message for the commit.
# Default: 'Commit from GitHub Actions (name of the workflow)'
message: 'Move module into root directory'
# The way the action should handle pathspec errors from the add and remove commands. Three options are available:
# - ignore -> errors will be logged but the step won't fail
# - exitImmediately -> the action will stop right away, and the step will fail
# - exitAtEnd -> the action will go on, every pathspec error will be logged at the end, the step will fail.
# Default: ignore
pathspec_error_handling: exitImmediately
# Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (see the paragraph below for more info)
# Default: true
push: origin main:package_submodule --force --set-upstream