Skip to content

Commit

Permalink
Migrate to using publish script for GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadareski committed Dec 6, 2024
1 parent b4e0431 commit 7cad841
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 265 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Test

on:
push:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Run tests
run: dotnet test

- name: Run publish script
run: ./publish-nix.sh -dp

- name: Upload package
uses: actions/upload-artifact@v4
with:
name: 'Nuget Package'
path: '*.nupkg'

- name: Upload to rolling
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: True
artifacts: "*.nupkg,*.zip"
body: 'Last built commit: ${{ github.sha }}'
name: 'Rolling Release'
prerelease: True
replacesArtifacts: True
tag: "rolling"
updateOnlyUnreleased: True
53 changes: 0 additions & 53 deletions .github/workflows/build_check.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/build_cli.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/build_nupkg.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/build_ui.yml

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
- Clean up original Drive tests
- Add debug flag to publish scripts
- Add gated program downloads to publish scripts
- Migrate to using publish script for GHA

### 3.2.4 (2024-11-24)

Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

Redumper/Aaru/DiscImageCreator UI in C#

[![Build status](https://ci.appveyor.com/api/projects/status/3ldav3v0c373jeqa?svg=true)](https://ci.appveyor.com/project/mnadareski/MPF)
[![UI Build](https://github.com/SabreTools/MPF/actions/workflows/build_ui.yml/badge.svg)](https://github.com/SabreTools/MPF/actions/workflows/build_ui.yml)
[![CLI Build](https://github.com/SabreTools/MPF/actions/workflows/build_cli.yml/badge.svg)](https://github.com/SabreTools/MPF/actions/workflows/build_cli.yml)
[![Check Build](https://github.com/SabreTools/MPF/actions/workflows/build_check.yml/badge.svg)](https://github.com/SabreTools/MPF/actions/workflows/build_check.yml)
[![Build and Test](https://github.com/SabreTools/MPF/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/SabreTools/MPF/actions/workflows/build_and_test.yml)

This is a community project, so if you have some time and knowledge to give, we'll be glad to add you as a contributor to this project. If you have any suggestions, issues, bugs, or crashes, please look at the [Issues](https://github.com/SabreTools/MPF/issues) page first to see if it has been reported before and try out the latest AppVeyor WIP build below to see if it has already been addressed. If it hasn't, please open an issue that's as descriptive as you can be. Help me make this a better program for everyone :)

Expand Down
21 changes: 0 additions & 21 deletions appveyor.yml

This file was deleted.

0 comments on commit 7cad841

Please sign in to comment.