lutris release yaml

This commit is contained in:
Izakbar
2025-02-08 21:38:58 +00:00
parent 39c6a68d60
commit ac8b160f1f

27
.github/workflows/release_lutris.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Eve-O Preview Release - lutris script
on:
release:
types: [published]
jobs:
edit-config:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Deploy to eks
run: |
EVE_O_PREVIEW="https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/Release-${{github.event.release.tag_name}}-Linux.zip" && \
sed -i "s@EVE_O_PREVIEW@${EVE_O_PREVIEW}@g" ./src/eve-o-preview.yaml
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: "./src/eve-o-preview.yaml"
asset_name: "eve-o-preview.yaml"
asset_content_type: application/yaml