From f7636e3049dd456c99588a1666a52102d8bafaf8 Mon Sep 17 00:00:00 2001 From: Reshetnikov Alexandr Date: Fri, 9 Aug 2024 08:31:07 +0400 Subject: [PATCH] - release-unsecure.yml --- .github/workflows/far2l.yml | 2 +- .github/workflows/release-unsecure.yml | 39 -------------------------- .github/workflows/release.yml | 6 ++-- 3 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 .github/workflows/release-unsecure.yml diff --git a/.github/workflows/far2l.yml b/.github/workflows/far2l.yml index 8abdbc7d4..0cb7396ae 100644 --- a/.github/workflows/far2l.yml +++ b/.github/workflows/far2l.yml @@ -51,7 +51,7 @@ jobs: needs: [test-alpine, test-ubuntu, test-ubuntu-p] - uses: ./.github/workflows/release-unsecure.yml + uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} tool_version: '2.6.3' diff --git a/.github/workflows/release-unsecure.yml b/.github/workflows/release-unsecure.yml deleted file mode 100644 index 96e8e8c0d..000000000 --- a/.github/workflows/release-unsecure.yml +++ /dev/null @@ -1,39 +0,0 @@ -on: - workflow_call: - inputs: - workflow: - required: true - type: string - tool_version: - required: true - type: string - prepare_body: - required: true - type: string - artifacts: - required: true - type: string - secrets: - token: - required: true -jobs: - release: - runs-on: ubuntu-latest - container: ubuntu:latest - env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: - - run: | - apt update -y - apt install -y libarchive-tools - - uses: actions/download-artifact@v3 - - uses: actions/download-artifact@v4 - - run: ${{ inputs.prepare_body }} - - uses: ncipollo/release-action@v1 - with: - tag: "${{ inputs.workflow }}-${{ inputs.tool_version }}" - bodyFile: './body.md' - artifacts: ${{ inputs.artifacts }} - allowUpdates: true - removeArtifacts: true - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3b17eb95..33658d202 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ on: jobs: release: runs-on: ubuntu-latest - container: ubuntu:latest steps: - run: | - apt update -y - apt install -y libarchive-tools + sudo apt update -y + sudo apt install -y libarchive-tools + - uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4 - run: ${{ inputs.prepare_body }} - uses: ncipollo/release-action@v1