Revert publish.yml

This commit is contained in:
Morb
2025-09-04 05:00:21 -07:00
committed by GitHub
parent a3e471f076
commit 6f70abfe0d

View File

@@ -12,17 +12,12 @@ jobs:
build:
runs-on: [self-hosted]
steps:
- name: Install dependencies
run: sudo apt-get install -y python3-paramiko python3-lxml
- name: Fail if we are attempting to run on the master branch
if: ${{GITHUB.REF_NAME == 'master' && github.repository == 'space-wizards/space-station-14'}}
run: exit 1
- name: Check .NET Installation
id: check-dotnet
run: |
if dotnet --info > /dev/null 2>&1; then
echo "skip=true" >> $GITHUB_ENV
else
echo "skip=false" >> $GITHUB_ENV
fi
# - name: Install dependencies
# run: sudo apt-get install -y python3-paramiko python3-lxml
- uses: actions/checkout@v4.2.2
with:
@@ -50,10 +45,16 @@ jobs:
# Corvax-Secrets-End
- name: Setup .NET Core
if: env.skip == 'false'
uses: actions/setup-dotnet@v3.2.0
uses: actions/setup-dotnet@v4.1.0
with:
dotnet-version: 9.0.x
env:
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
- name: Set DOTNET_ROOT and PATH
run: |
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
- name: Check .NET installation
run: dotnet --info