Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
KionX committed Jan 9, 2024
1 parent 02dd11b commit 98ac979
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/release.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Release

name: Test
on:
workflow_dispatch:
inputs:
version:
description: 'Release Version'
required: true

jobs:
build:
Expand All @@ -22,7 +17,7 @@ jobs:
run: |
pacman --noconfirm -S mingw-w64-i686-gcc
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Download Patcher
run: curl -L "https://github.com/FAForever/FA_Patcher/releases/latest/download/FaP.exe" -o FaP.exe
Expand All @@ -32,14 +27,3 @@ jobs:

- name: Patch Binary
run: ./FaP.exe

- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
release_name: v${{ github.event.inputs.version }}
draft: true
prerelease: true
2 changes: 1 addition & 1 deletion .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
pacman --noconfirm -S mingw-w64-i686-gcc
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Download Patcher
run: curl -L "https://github.com/FAForever/FA_Patcher/releases/latest/download/FaP.exe" -o FaP.exe
Expand Down

0 comments on commit 98ac979

Please sign in to comment.