aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-12-06 09:00:47 -0500
committerJames McCoy <jamessan@jamessan.com>2020-12-06 09:00:47 -0500
commitcdf362a48849f8de0b1e5c4dd07759b0c9feeff0 (patch)
treeac1462a6b8d5201987e92baefde7ee4515e9074e
parent44ba5c41684a06535715ac147ff33e94bce21321 (diff)
downloadrneovim-cdf362a48849f8de0b1e5c4dd07759b0c9feeff0.tar.gz
rneovim-cdf362a48849f8de0b1e5c4dd07759b0c9feeff0.tar.bz2
rneovim-cdf362a48849f8de0b1e5c4dd07759b0c9feeff0.zip
GHA: Fix event_name check for nightly builds
-rw-r--r--.github/workflows/release.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3c4ce0ddc2..5ac043674a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,7 +50,7 @@ jobs:
sudo apt-get install -y autoconf automake build-essential cmake gcc-multilib gettext gperf libtool-bin locales ninja-build pkg-config unzip
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly')
run: make appimage-latest
- - if: github.event_name == 'scheduled' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
+ - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
run: make appimage-nightly
- uses: actions/upload-artifact@v2
with:
@@ -107,7 +107,7 @@ jobs:
- uses: actions/download-artifact@v2
- if: github.event_name == 'workflow_dispatch'
run: echo "TAG_NAME=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
- - if: github.event_name == 'scheduled'
+ - if: github.event_name == 'schedule'
run: echo 'TAG_NAME=nightly' >> $GITHUB_ENV
- if: github.event_name == 'push'
run: |