From bbe15e9537b43fb98cf524d60b0fc13a78e97c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Bringst=C3=A5l-M=C3=A5rtensson?= <88229935+Creakthistle@users.noreply.github.com> Date: Mon, 25 Oct 2021 20:39:46 +0200 Subject: [PATCH 1/3] Clueless-Mon.key --- .github/workflows/main.yml | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..4a057dea --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,50 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# 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: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. + + + - name: Cache +defaults: + uses: actions/cache@v2.1.6 + with: curly-octo-computing-machine + # A list of files, directories, and wildcard patterns to cache and restore + path: Buildanintelligentbot + # An explicit key for restoring and saving the cache + key: -0b0 +1 00011 1579 + # An ordered list of keys to use for restoring the cache if no cache hit occurred for key + restore-keys: # optional + # The chunk size used to split up large files during upload, in bytes + upload-chunk-size: # optional From c40aed877db4f7ec7e6627ea6b641e249f450fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Bringst=C3=A5l-M=C3=A5rtensson?= <88229935+Creakthistle@users.noreply.github.com> Date: Mon, 25 Oct 2021 20:56:47 +0200 Subject: [PATCH 2/3] Update and rename main.yml to Combined.yml --- .github/workflows/Combined.yml | 60 ++++++++++++++++++++++++++++++++++ .github/workflows/main.yml | 50 ---------------------------- 2 files changed, 60 insertions(+), 50 deletions(-) create mode 100644 .github/workflows/Combined.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/Combined.yml b/.github/workflows/Combined.yml new file mode 100644 index 00000000..cd9e45cf --- /dev/null +++ b/.github/workflows/Combined.yml @@ -0,0 +1,60 @@ + # Allows you to run this workflow manually from the Actions tab + - name: workflow_dispatch + runs-on: ubuntu-latest + jobs: + # 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 set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. + - name: Cache + uses: actions/cache@v2.1.6 + with: + # A list of files, directories, and wildcard patterns to cache and restore + path: Buildanintelligentbot + Creakthistle/curly-octo-computing-machine + # An explicit key for restoring and saving the cache + key: -0b0 +1 00011 1579 + # An ordered list of keys to use for restoring the cache if no cache hit occurred for key + restore-keys: # optional + # The chunk size used to split up large files during upload, in bytes + upload-chunk-size: # optional + + + + if-no-files-found: # optional, default is warn + # Duration after which artifact will expire in days. 0 means using default retention. +Minimum 1 day. Maximum 90 days unless changed from the repository settings page. + + retention-days: # optional + + - name: Setup Go environment + uses: actions/setup-go@v2.1.4 + with: Buildanintelligentbot, curly-octo-computing-machine + # The Go version to download (if necessary) and use. Supports semver spec and ranges. + go-version: # optional + # Whether to download only stable versions + stable: # optional, default is true + # Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user. + token: # optional, default is ${{ github.token }} + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2.2.4 + with: + # Artifact name + name: Arbitrary + # A file, directory or wildcard pattern that describes what to upload + path: curly-octo-computing-machine + # The desired behavior if no files are found using the provided path. +Available Options: + warn: Output a warning but do not fail the action + error: Fail the action with an error message + ignore: Do not output any warnings or errors, the action does not fail + + + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 4a057dea..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,50 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# 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: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - - - - name: Cache -defaults: - uses: actions/cache@v2.1.6 - with: curly-octo-computing-machine - # A list of files, directories, and wildcard patterns to cache and restore - path: Buildanintelligentbot - # An explicit key for restoring and saving the cache - key: -0b0 +1 00011 1579 - # An ordered list of keys to use for restoring the cache if no cache hit occurred for key - restore-keys: # optional - # The chunk size used to split up large files during upload, in bytes - upload-chunk-size: # optional From c4c71da1ba7b40f4204b0477fbae65afd89eb5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Bringst=C3=A5l-M=C3=A5rtensson?= <88229935+Creakthistle@users.noreply.github.com> Date: Mon, 25 Oct 2021 20:59:26 +0200 Subject: [PATCH 3/3] Update Combined.yml --- .github/workflows/Combined.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/Combined.yml b/.github/workflows/Combined.yml index cd9e45cf..165e2a0a 100644 --- a/.github/workflows/Combined.yml +++ b/.github/workflows/Combined.yml @@ -1,3 +1,7 @@ +[![.github/workflows/Combined.yml](https://github.com/Creakthistle/ailab/actions/workflows/Combined.yml/badge.svg?branch=Creakthistle-path-1&event=check_run)](https://github.com/Creakthistle/ailab/actions/workflows/Combined.yml)[![.github/workflows/Combined.yml](https://github.com/Creakthistle/ailab/actions/workflows/Combined.yml/badge.svg?branch=Creakthistle-path-1&event=check_run)](https://github.com/Creakthistle/ailab/actions/workflows/Combined.yml) + + + # Allows you to run this workflow manually from the Actions tab - name: workflow_dispatch runs-on: ubuntu-latest