From f918f69339cf0d9161e5d3508d3d8eafd61dac5c Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Fri, 20 Sep 2024 03:26:26 +0200 Subject: [PATCH] Change demo --- .gitea/workflows/linting.yaml | 12 ---------- .gitea/workflows/release.yaml | 41 ----------------------------------- 2 files changed, 53 deletions(-) delete mode 100644 .gitea/workflows/linting.yaml delete mode 100644 .gitea/workflows/release.yaml diff --git a/.gitea/workflows/linting.yaml b/.gitea/workflows/linting.yaml deleted file mode 100644 index c01ba33..0000000 --- a/.gitea/workflows/linting.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Linting -run-name: ${{ gitea.actor }} is checking the LUA code 🚀 -on: [push] - -jobs: - Luacheck: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - name: Luacheck linter - uses: lunarmodules/luacheck@v1 \ No newline at end of file diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml deleted file mode 100644 index a53362a..0000000 --- a/.gitea/workflows/release.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build & Release -run-name: ${{ gitea.actor }} is creating a new release 🚀 -on: [push] - #push: - #tags: - # - '**' - -jobs: - Build: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v4 - with: - path: sources - - name: Delete unneeded files/dirs - run: | - rm -rf sources/.git - rm -rf sources/.gitea - rm -rf sources/screenshots - rm -f sources/.drone.status - rm -f sources/.drone.yml - rm -f sources/.luacheckrc - - name: Set Version and AddonVersion - run: | - echo "Version: $GITHUB_REF_NAME" - export VERSION=$GITHUB_REF_NAME - export ADDON_VERSION=$(echo $GITHUB_REF_NAME | sed -E 's/(0|)\.//g') - sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfoCommon.lua - sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfo.txt - sed -i "s/0.123456789/$ADDON_VERSION/g" sources/AchievementInfo.txt - - name: Rename and zip - run: | - mv sources AchievementInfo - zip -r "AchievementInfo-$GITHUB_REF_NAME.zip" ./AchievementInfo - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: build-artifact - path: AchievementInfo*.zip - retention-days: 3 \ No newline at end of file