mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
Revert publish.yml
This commit is contained in:
25
.github/workflows/publish.yml
vendored
25
.github/workflows/publish.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user