From 5c2733de266c1ec547242a8f8be9e77e1b0bc39a Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 20 Oct 2024 09:20:58 -0400 Subject: [PATCH] fix invalid workflows --- .forgejo/workflows/build.yaml | 5 +++-- .forgejo/workflows/publish.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4b7de52..a4718ce 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -10,7 +10,9 @@ on: jobs: build: - runs-on: ubuntu-latest + name: Build plugins + runs-on: docker + container: catthehacker/ubuntu:act-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -18,4 +20,3 @@ jobs: node-version: 18 - run: npm ci - run: npm run build - diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 7e738d4..b1644d5 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -4,7 +4,9 @@ on: workflow_dispatch jobs: publish: - runs-on: ubuntu-latest + name: Publish plugins to Release branch + runs-on: docker + container: catthehacker/ubuntu:act-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -15,4 +17,3 @@ jobs: - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - run: npm ci - run: npm run publish -