yes
Some checks failed
Release Mod / Build (push) Failing after 30s

This commit is contained in:
Lee 2024-08-07 06:57:27 +01:00
parent b3ae9ca369
commit 5b7de4150c

@ -13,37 +13,44 @@ jobs:
working-directory: "./Mod" working-directory: "./Mod"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup dotnet - name: Setup dotnet
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 7.0.x dotnet-version: 7.0.x
- name: Initialize modding environment - name: Initialize modding environment
uses: beat-forge/init-beatsaber@v1 uses: beat-forge/init-beatsaber@v1
with: with:
repo: beat-forge/beatsaber-stripped repo: beat-forge/beatsaber-stripped
- name: Download Mod Dependencies - name: Download Mod Dependencies
uses: Goobwabber/download-beatmods-deps@1.2 uses: Goobwabber/download-beatmods-deps@1.2
with: with:
manifest: ${{ gitea.workspace }}/Mod/manifest.json manifest: ${{ gitea.workspace }}/Mod/manifest.json
- name: Build - name: Build
id: Build id: Build
run: dotnet build ScoreTracker.csproj --configuration Release run: dotnet build ScoreTracker.csproj --configuration Release
- name: GitStatus - name: GitStatus
run: git status run: git status
- name: Echo Filename - name: Echo Filename
run: echo $BUILDTEXT \($ASSEMBLYNAME\) run: echo $BUILDTEXT \($ASSEMBLYNAME\)
env: env:
BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} BUILDTEXT: Filename=${{ steps.Build.outputs.filename }}
ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }}
# - name: Upload Artifact
# uses: actions/upload-artifact@v1 - name: Upload Artifact
# with: uses: actions/upload-artifact@v4
# name: ${{ steps.Build.outputs.filename }} with:
# path: ${{ steps.Build.outputs.artifactpath }} name: ${{ steps.Build.outputs.filename }}
# - name: Release path: ${{ steps.Build.outputs.artifactpath }}
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/') - name: Use Go Action
# with: id: use-go-action
# files: ./${{ steps.Build.outputs.filename }}.zip uses: https://gitea.com/actions/release-action@main
# env: with:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} files: ./${{ steps.Build.outputs.filename }}.zip
api_key: "${{ secrets.RELEASE_TOKEN }}"