From 96f09da6ae911cf841c6c804eef67baf535b511a Mon Sep 17 00:00:00 2001 From: Stefan Fochler Date: Thu, 28 Aug 2025 13:44:46 +0200 Subject: [PATCH] Remove actions from .github/actions (slipped back in) --- .github/actions/publish_release.yml | 19 ------------- .github/actions/test.yml | 39 --------------------------- .github/actions/version_bump.yml | 12 --------- .github/workflows/publish_release.yml | 4 ++- 4 files changed, 3 insertions(+), 71 deletions(-) delete mode 100644 .github/actions/publish_release.yml delete mode 100644 .github/actions/test.yml delete mode 100644 .github/actions/version_bump.yml diff --git a/.github/actions/publish_release.yml b/.github/actions/publish_release.yml deleted file mode 100644 index 739b575..0000000 --- a/.github/actions/publish_release.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: 🔩 Publish Release (Auto) - -on: - push: - branches: - - main - paths: - - "mix.exs" - # Until this is proven, allow manual triggers - workflow_dispatch: - -jobs: - release: - name: Publish Release - uses: box-id/github-actions-oss/.github/workflows/elixir_publish_release.yml@main - with: - publish-to-hex: true - version-prefix: "v" - secrets: inherit diff --git a/.github/actions/test.yml b/.github/actions/test.yml deleted file mode 100644 index e2ec652..0000000 --- a/.github/actions/test.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Run tests - -on: push - -jobs: - test: - runs-on: ubuntu-latest - name: Elixir ${{matrix.elixir}} on OTP ${{matrix.otp}} - strategy: - matrix: - otp: ["28.x"] - elixir: ["1.18.x"] - env: - MIX_ENV: test - steps: - - name: Check out Repository - uses: actions/checkout@v4 - - - name: Set up Elixir - uses: erlef/setup-beam@v1 - with: - otp-version: ${{matrix.otp}} - elixir-version: ${{matrix.elixir}} - - - name: Retrieve Mix Dependencies Cache - uses: actions/cache@v4 - with: - path: | - deps - _build - key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}- - - - name: Fetch Mix Dependencies - run: mix deps.get - - - name: Run Tests - run: mix test diff --git a/.github/actions/version_bump.yml b/.github/actions/version_bump.yml deleted file mode 100644 index bc9b546..0000000 --- a/.github/actions/version_bump.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: 👉 Trigger Version Bump - -on: - workflow_dispatch: - -jobs: - create_version_bump_pr: - name: Create Version Bump PR - uses: box-id/github-actions-oss/.github/workflows/elixir_version_bump.yml@main - with: - version-prefix: "v" - secrets: inherit diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 635d84c..739b575 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -6,11 +6,13 @@ on: - main paths: - "mix.exs" + # Until this is proven, allow manual triggers + workflow_dispatch: jobs: release: name: Publish Release - uses: box-id/github-actions/.github/workflows/elixir_publish_release.yml@main + uses: box-id/github-actions-oss/.github/workflows/elixir_publish_release.yml@main with: publish-to-hex: true version-prefix: "v"