From 65f3439f00d7f66436198a3142f3e2e7bd60300c Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sat, 24 Sep 2022 06:49:27 +0200 Subject: [PATCH] Fix `aftman.toml` file being removed (#5) --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 489ac4e..fa7e901 100644 --- a/action.yml +++ b/action.yml @@ -49,7 +49,11 @@ runs: - name: Delete artifacts run: | rm aftman*.zip - rm aftman* + if ${{ runner.os == 'Windows' }}; then + rm aftman.exe + else + rm aftman + fi shell: bash - name: Set environment variable