Skip to content

Commit

Permalink
Revert "add release workflow"
Browse files Browse the repository at this point in the history
This reverts commit 842bcef.
  • Loading branch information
bluepilledgreat committed May 22, 2023
1 parent 842bcef commit e3dc58e
Showing 1 changed file with 7 additions and 31 deletions.
38 changes: 7 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches: [ main ]

jobs:
build:
Expand Down Expand Up @@ -27,33 +32,4 @@ jobs:
with:
name: RobloxUltimateScraper (${{ matrix.configuration }}, ${{ matrix.platform }})
path: |
./RobloxUltimateScraper/bin/${{ matrix.configuration }}/net6.0/${{ matrix.platform }}/publish/*
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')

steps:
- name: Download Windows release artifact
uses: actions/download-artifact@v3
with:
name: RobloxUltimateScraper (Release, win-x64)
path: Windows
- name: Download Linux release artifact
uses: actions/download-artifact@v3
with:
name: RobloxUltimateScraper (Release, linux-x64)
path: Linux
- name: Rename binaries
run: |
mv Windows/RobloxUltimateScraper.exe RobloxUltimateScraper-${{ github.ref_name }}-Windows.exe
mv Linux/RobloxUltimateScraper RobloxUltimateScraper-${{ github.ref_name }}-Linux
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
RobloxUltimateScraper-${{ github.ref_name }}-Windows.exe
RobloxUltimateScraper-${{ github.ref_name }}-Linux
name: RobloxUltimateScraper ${{ github.ref_name }}
./RobloxUltimateScraper/bin/${{ matrix.configuration }}/net6.0/${{ matrix.platform }}/publish/*

0 comments on commit e3dc58e

Please sign in to comment.