Skip to content

Commit 4186ffe

Browse files
committed
fix ci
1 parent 5b15456 commit 4186ffe

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@ jobs:
3030
- name: Get version info
3131
id: version_info
3232
run: |
33-
echo "build_version=${{ env.BASE_VERSION }}.$((${{ github.run_number }} - 76))" >> $GITHUB_OUTPUT
34-
echo "prev_build_version=${{ env.BASE_VERSION }}.$(($((${{ github.run_number }} - 76)) - 1))" >> $GITHUB_OUTPUT
33+
echo "build_version=${{ env.BASE_VERSION }}.$((${{ github.run_number }} - 77))" >> $GITHUB_OUTPUT
34+
echo "prev_build_version=${{ env.BASE_VERSION }}.$(($((${{ github.run_number }} - 77)) - 1))" >> $GITHUB_OUTPUT
3535
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
3636
echo "commit_message=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
3737
shell: bash
3838

3939
- name: Run GLI
4040
run: |
41-
gh release download -R GreemDev/GLI -O gli.exe -p 'gli-win-x64.exe' 2.0.30
41+
gh release download -R GreemDev/GLI -O gli -p 'gli-linux-x64' 2.0.30
42+
chmod +x gli
4243
43-
./gli.exe create-tag -T ${{ secrets.GITLAB_TOKEN }} -P ryubing/update-server -n ${{ steps.version_info.outputs.build_version }} -r ${{ steps.version_info.outputs.git_short_hash }} -c "${{ steps.version_info.outputs.commit_message }}"
44+
./gli create-tag -T ${{ secrets.GITLAB_TOKEN }} -P ryubing/update-server -n ${{ steps.version_info.outputs.build_version }} -r ${{ steps.version_info.outputs.git_short_hash }} -c "${{ steps.version_info.outputs.commit_message }}"
4445
env:
4546
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4647

0 commit comments

Comments
 (0)