From a7e514026713792cd624807ffcf5af8f19152172 Mon Sep 17 00:00:00 2001 From: LucBerge Date: Tue, 31 Jan 2023 18:33:53 +0100 Subject: [PATCH] Update workflow.yml Former-commit-id: 60f8d3cfd06fb33bc69f6115e43a94e50729ba2e --- .github/workflows/workflow.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c6a8cfd8a..4f8bb68af 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -169,8 +169,6 @@ jobs: - name: Get latest Dofus version run: | - ls data/ - ls . chmod +x devscript/latest-dofus-version.sh export DOFUS_VERSION=$(python devscript/latest-dofus-version.py) echo The current Dofus version is $DOFUS_VERSION @@ -189,12 +187,12 @@ jobs: run: | zip -r data.zip data/events.json data/events.properties data/entities_json/ data/translations_json/ -# - name: Publish release -# uses: "marvinpinto/action-automatic-releases@latest" -# with: -# repo_token: "${{ secrets.GITHUB_TOKEN }}" -# automatic_release_tag: ${{ env.VERSION }} -# prerelease: false -# title: ${{ env.VERSION }} -# files: | -# ./data.zip + - name: Publish release + uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: ${{ env.VERSION }} + prerelease: false + title: ${{ env.VERSION }} + files: | + ./data.zip