TEST: tesing main release on Gitea [skip ci]

This commit is contained in:
XargonWan 2024-04-22 18:26:31 +09:00
parent 5e828a1463
commit dd99ad9c95

View file

@ -105,20 +105,20 @@ jobs:
echo -e "# Release Notes\n" >> "body.md" echo -e "# Release Notes\n" >> "body.md"
echo "$DES" >> "body.md" echo "$DES" >> "body.md"
- name: Publish the flatpak in a new release # - name: Publish the flatpak in a new release
uses: ncipollo/release-action@v1 # uses: ncipollo/release-action@v1
env: # env:
REL_VER: ${{ env.REL_VER }} # REL_VER: ${{ env.REL_VER }}
with: # with:
tag: ${{ env.REL_VER }} # tag: ${{ env.REL_VER }}
name: "RetroDECK v${{ env.REL_VER }}" # name: "RetroDECK v${{ env.REL_VER }}"
bodyFile: "body.md" # bodyFile: "body.md"
artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz" # artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz"
allowUpdates: true # allowUpdates: true
makeLatest: true # makeLatest: true
token: ${{ secrets.TRIGGER_BUILD_TOKEN }} # token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
repo: RetroDECK # repo: RetroDECK
continue-on-error: true # continue-on-error: true
# In case it cannot publish the release at least it's providing the flatpak file for creating a manual release # In case it cannot publish the release at least it's providing the flatpak file for creating a manual release
# - name: Upload RetroDECK.flatpak # - name: Upload RetroDECK.flatpak
@ -135,8 +135,8 @@ jobs:
ORGANIZATION="RetroDECK" ORGANIZATION="RetroDECK"
REPO="RetroDECK" REPO="RetroDECK"
GITEA_TOKEN="${{ secrets.GITEA_TRIGGER_BUILD_TOKEN }}" GITEA_TOKEN="${{ secrets.GITEA_TRIGGER_BUILD_TOKEN }}"
RELEASE_NAME="RetroDECK ${{env.TAG}}" RELEASE_NAME="RetroDECK ${{ env.REL_VER }}"
TAG="${{env.TAG}}" TAG="${{ env.REL_VER }}"
RELEASE_BODY="$(cat body.md)" RELEASE_BODY="$(cat body.md)"
# Create a release using curl and capture the release ID # Create a release using curl and capture the release ID