Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rename releases before uploading #31

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/release-artifacts.yml

This file was deleted.

19 changes: 12 additions & 7 deletions .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
name: combined-release-workflow

env:
GH_TOKEN: ${{ github.token }}
Repo: "sargeantPig/RTWLibTools"

jobs:
Expand All @@ -30,13 +29,15 @@ jobs:

- name: Wait for 2 minutes
run: |
sleep 120 # Sleep for 2 minutes (2 minutes * 60 seconds/minute)
sleep 80 # Sleep for 80 seconds
shell: bash

- name: Publish Windows Build
if: ${{ steps.release.outputs.release_created }}
run: dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r win-x64 --self-contained true -o ./publish/win-x64

run: |
dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r win-x64 --self-contained true -o ./publish/win-x64
mv ./publish/win-x64/RTW-CLI-Randomiser.exe ./publish/win-x64/RTW-CLI-Randomiser-windows.exe

- name: Publish Windows Artifact
uses: actions/upload-artifact@v2
with:
Expand All @@ -45,7 +46,9 @@ jobs:

- name: Publish macOS Build
if: ${{ steps.release.outputs.release_created }}
run: dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r osx-x64 --self-contained true -o ./publish/osx-x64
run: |
dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r osx-x64 --self-contained true -o ./publish/osx-x64
mv ./publish/osx-x64/RTW-CLI-Randomiser ./publish/osx-x64/RTW-CLI-Randomiser-macOS

- name: Publish macOS Artifact
uses: actions/upload-artifact@v2
Expand All @@ -55,8 +58,10 @@ jobs:

- name: Publish Linux Build
if: ${{ steps.release.outputs.release_created }}
run: dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r linux-x64 --self-contained true -o ./publish/linux-x64

run: |
dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r linux-x64 --self-contained true -o ./publish/linux-x64
mv ./publish/linux-x64/RTW-CLI-Randomiser ./publish/linux-x64/RTW-CLI-Randomiser-linux

- name: Publish linux Artifact
uses: actions/upload-artifact@v2
with:
Expand Down
Loading