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