mirror of
https://github.com/g3rv4/GetMoarFediverse.git
synced 2024-11-21 23:23:09 +01:00
Don't use Docker on the action
This commit is contained in:
parent
72569297f3
commit
bf27d2a414
12
action.yml
12
action.yml
@ -6,10 +6,10 @@ inputs:
|
|||||||
required: true
|
required: true
|
||||||
api_key:
|
api_key:
|
||||||
description: FakeRelay API key if it isn't defined in the config.json
|
description: FakeRelay API key if it isn't defined in the config.json
|
||||||
tag:
|
executable_path:
|
||||||
description: Tag of the getmoarfediverse docker container
|
description: Path to the GetMoarFediverse archive
|
||||||
required: true
|
required: true
|
||||||
default: latest
|
default: https://github.com/g3rv4/GetMoarFediverse/releases/latest/download/GetMoarFediverse_linux-x64.tgz
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
@ -29,7 +29,11 @@ runs:
|
|||||||
- name: import-data
|
- name: import-data
|
||||||
env:
|
env:
|
||||||
FAKERELAY_APIKEY: ${{ inputs.api_key }}
|
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
|
shell: bash
|
||||||
- name: store artifact
|
- name: store artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user