Skip to content

Commit

Permalink
Release pipelines: update images
Browse files Browse the repository at this point in the history
Replace trigger by workflow_dispatch
  • Loading branch information
baylej committed Apr 15, 2024
1 parent 925be15 commit 78323f0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Release

on:
push:
tags:
- tmx_** # Releases
workflow_dispatch:

env:
# Latest (2.9.10): https://gitlab.gnome.org/GNOME/libxml2/-/issues/154
Expand All @@ -20,12 +18,12 @@ env:
jobs:
linux64:
name: Linux 64 Build
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
steps:
# context expressions lack the most basic string manipulation functions...
- name: Create distribution folder
run: |
ARTIFACT_NAME=${GITHUB_REF:10}-linux
ARTIFACT_NAME=$(git describe --tags --abbrev=0)-linux
DIST_PATH=${GITHUB_WORKSPACE}/${ARTIFACT_NAME}
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
echo "DIST_PATH=${DIST_PATH}" >> $GITHUB_ENV
Expand Down Expand Up @@ -88,7 +86,7 @@ jobs:
steps:
- name: Create distribution folder
run: |
ARTIFACT_NAME=${GITHUB_REF:10}-html5
ARTIFACT_NAME=$(git describe --tags --abbrev=0)-html5
DIST_PATH=${GITHUB_WORKSPACE}/${ARTIFACT_NAME}
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
echo "DIST_PATH=${DIST_PATH}" >> $GITHUB_ENV
Expand Down Expand Up @@ -150,11 +148,11 @@ jobs:

windows:
name: Windows Build
runs-on: windows-2016
runs-on: windows-2019
steps:
- name: Create distribution folder
run: |
$ARTIFACT_NAME=$($Env:GITHUB_REF).substring(10) + "-win"
$ARTIFACT_NAME=(git describe --tags --abbrev=0) -join "-win"
echo "ARTIFACT_NAME=$ARTIFACT_NAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
$DIST_PATH="$($Env:GITHUB_WORKSPACE)\$ARTIFACT_NAME"
echo "DIST_PATH=$DIST_PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Expand Down

0 comments on commit 78323f0

Please sign in to comment.