From 4d0b73623a6a2dc9aa3dcb910f299c605a875a3c Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 4 Sep 2023 13:13:14 -0700 Subject: [PATCH] Adding artifact bundle actions --- .github/workflows/artifact-bundle.yml | 19 +++++++++++++++++++ .github/{ => workflows}/build.yml | 2 +- Dockerfile | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/artifact-bundle.yml rename .github/{ => workflows}/build.yml (89%) diff --git a/.github/workflows/artifact-bundle.yml b/.github/workflows/artifact-bundle.yml new file mode 100644 index 0000000..b43a4c4 --- /dev/null +++ b/.github/workflows/artifact-bundle.yml @@ -0,0 +1,19 @@ +name: Artifact Bundle + +on: + schedule: + # Daily at 8:20 UTC + - cron: '20 8 * * *' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + check: + name: Test + runs-on: macOS-13 + steps: + - name: Get latest version + run: | + echo "$(gh release list -R gigabitcoin/template-plugin -L 1)" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/build.yml b/.github/workflows/build.yml similarity index 89% rename from .github/build.yml rename to .github/workflows/build.yml index 7fd9c81..193ddd2 100644 --- a/.github/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: List available plugins in macOS - run: swift package plugin --list + run: swift package plugin template Linux: runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index cb043c2..d1a1472 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ ADD . /Linux WORKDIR /Linux # List available plugins in Linux -RUN swift package plugin --list +RUN swift package plugin template