From be4d04c3b585f75b5fbaca937dc46246ffb92d91 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Mon, 25 Sep 2023 13:38:37 +0200 Subject: [PATCH] wip --- .github/workflows/update-packages-list2.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-packages-list2.yml b/.github/workflows/update-packages-list2.yml index 559ae6a03..b42d0062a 100644 --- a/.github/workflows/update-packages-list2.yml +++ b/.github/workflows/update-packages-list2.yml @@ -1,16 +1,15 @@ name: Update packages list on: schedule: - - cron: '0 0 1 1-12/3 *' # Run every three months + - cron: '0 0 1 1-12/1 *' # Run every month push: branches: - - main - paths: - - .github/workflows/license.yml + - update-action + workflow_dispatch: {} jobs: test: - runs-on: elixir + runs-on: ubuntu-latest name: Update packages list in README steps: - uses: actions/checkout@v3 @@ -20,6 +19,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + sudo apt-get -y update && sudo apt-get -y install asdf + asdf install elixir && mix local.hex --force && mix local.rebar --force elixir update_packages_list.exs git config user.name 'Membrane Bot' git config user.email 'bot@membrane.stream'