From 5ba1f10172ffe93246c106e242bd8f9663cab944 Mon Sep 17 00:00:00 2001 From: MSWS Date: Wed, 24 Jan 2024 00:51:39 -0800 Subject: [PATCH] Revert --- .github/workflows/publish.yml | 72 ----------------------------------- global.json | 2 +- 2 files changed, 1 insertion(+), 73 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index e4e5eac2..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: .NET Build and Release - -on: - push: - branches: - - main - - dev - pull_request: - branches: - - main - - dev - -jobs: - build: - runs-on: ubuntu-latest - - container: - image: mcr.microsoft.com/dotnet/nightly/sdk:8.0 - - steps: - - uses: actions/checkout@v3 - - - name: Restore dependencies - run: dotnet restore - - - name: Build - run: dotnet build src/Jailbreak/Jailbreak.csproj --no-restore - - name: Publish - run: dotnet publish src/Jailbreak/Jailbreak.csproj --no-build --no-restore - - - name: Archive production artifacts - uses: actions/upload-artifact@v4.0.0 - with: - name: net7.0-artifacts - path: build - if-no-files-found: error - - release: - needs: build - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Download artifact - uses: actions/download-artifact@v4.0.0 - with: - name: net7.0-artifacts - path: build - - - name: Create Tag - id: tag_version - run: | - DATE=$(date +'%y.%m.%d-%H%M%S') - echo "RELEASE_TAG=$DATE" >> $GITHUB_ENV - - - name: Determine if Pre-release - id: prerelease - run: | - if [ "${{ github.ref }}" != "refs/heads/main" ]; then - echo "IS_PRERELEASE=true" >> $GITHUB_ENV - else - echo "IS_PRERELEASE=false" >> $GITHUB_ENV - fi - - - name: Create Release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ env.RELEASE_TAG }} - files: build/Jailbreak/* - prerelease: ${{ env.IS_PRERELEASE }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/global.json b/global.json index 2ddda36c..aaac9e04 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.0", + "version": "7.0.0", "rollForward": "latestMinor", "allowPrerelease": false }