From bf27d2a4147472237a141eef6bd6df4f3e3a0257 Mon Sep 17 00:00:00 2001 From: Gervasio Marchand Date: Fri, 23 Dec 2022 09:25:48 -0300 Subject: [PATCH] Don't use Docker on the action --- action.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index cc72ab4..b9406b5 100644 --- a/action.yml +++ b/action.yml @@ -6,10 +6,10 @@ inputs: required: true api_key: description: FakeRelay API key if it isn't defined in the config.json - tag: - description: Tag of the getmoarfediverse docker container + executable_path: + description: Path to the GetMoarFediverse archive required: true - default: latest + default: https://github.com/g3rv4/GetMoarFediverse/releases/latest/download/GetMoarFediverse_linux-x64.tgz runs: using: composite steps: @@ -29,7 +29,11 @@ runs: - name: import-data env: FAKERELAY_APIKEY: ${{ inputs.api_key }} - run: docker run -v "${MOAR_TMP_DIR}:/data" -e "FAKERELAY_APIKEY=${FAKERELAY_APIKEY}" ghcr.io/g3rv4/getmoarfediverse:${{ inputs.tag }} + run: | + wget -nv ${{ inputs.executable_path }} + tar -xzf GetMoarFediverse_linux-x64.tgz + cd GetMoarFediverse-* + ./GetMoarFediverse ${{ env.MOAR_TMP_DIR }}/config.json shell: bash - name: store artifact uses: actions/upload-artifact@v3