[latex3-commits] [latex3/luaotfload] main: Update deployment pipeline for v3.27 (cce556ff)

github at latex-project.org github at latex-project.org
Thu Feb 15 03:29:11 CET 2024


Repository : https://github.com/latex3/luaotfload
On branch  : main
Link       : https://github.com/latex3/luaotfload/commit/cce556ffb1682c58f1a4a9b915a3e287030967ab

>---------------------------------------------------------------

commit cce556ffb1682c58f1a4a9b915a3e287030967ab
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Feb 15 03:29:11 2024 +0100

    Update deployment pipeline for v3.27


>---------------------------------------------------------------

cce556ffb1682c58f1a4a9b915a3e287030967ab
 .github/workflows/deploy.yaml | 24 ++++++------------------
 1 file changed, 6 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 684d4bad..53b596b1 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -13,38 +13,26 @@ jobs:
     steps:
       # Boilerplate
       - name: Checkout repository
-        uses: actions/checkout at v3
+        uses: actions/checkout at v4
       - run: sudo apt-get install python3-docutils
       - name: Install TeX Live
-        uses: zauguin/install-texlive at v2
+        uses: zauguin/install-texlive at v3
         with:
           # Here we use the same list of packages as in the testing workflow.
           package_file: .github/tl_packages
-          cache_version: 0
       - name: Run l3build
         run: l3build ctan -H --show-log-on-error
       - name: Create GitHub release
-        uses: ncipollo/release-action at 880be3d0a71bc0fa98db60201d2cbdc27324f547
+        uses: ncipollo/release-action at 2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
         id: release
         with:
           artifacts: "build/distrib/ctan/*.zip"
           prerelease: ${{ endsWith(github.ref, '-dev') }}
           token: ${{ secrets.GITHUB_TOKEN }}
-      # To get the name of the release, we need to remove a prefix from a variable.
-      # Sadly, this isn't supported by GitHub's *extremely* limited expression syntax
-      # and we have to use a separate action instead.
-      #
-      - name: Get name
-        uses: frabert/replace-string-action at 9b62dfe3ae936b1cc380f2421c8ac9e63a4a3e85
-        id: name
-        with:
-          pattern: "^refs/tags/"
-          string: ${{ github.ref }}
-          replace-with: ""
       # If a test failed, we already notified in the other workflow. Here we notify
       # when a release has been created.
       - name: Send mail
-        uses: dawidd6/action-send-mail at 6063705cefe50cb915fc53bb06d4049cae2953b2
+        uses: dawidd6/action-send-mail at dc13c734ff2b581c12c1b59958ba73d6fa95b371
         with:
           # Currently using my (Marcel's) mail server for sending mails.
           server_address: typesetting.eu
@@ -60,9 +48,9 @@ jobs:
           # to send from the mail address.
           from: LaTeX CI <github at latex-project.org>
           # Determine the subject and body of the mail.
-          subject: "New release for ${{github.repository}}: ${{steps.name.outputs.replaced}}"
+          subject: "New release for ${{github.repository}}: ${{github.ref_name}}"
           body: |
-            The release ${{steps.name.outputs.replaced}} has been created for ${{github.repository}}.
+            The release ${{github.ref_name}} has been created for ${{github.repository}}.
 
             More information can be found at
             ${{steps.release.outputs.html_url}}





More information about the latex3-commits mailing list.