all repos — hex @ 589819e4d04785e54f322ec333a9c8402558a886

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Fixes.
h3rald h3rald@h3rald.com
Thu, 05 Dec 2024 08:01:32 +0100
commit

589819e4d04785e54f322ec333a9c8402558a886

parent

9e6c2a07aa0676aba6855359af89ad04c8397d81

1 files changed, 10 insertions(+), 13 deletions(-)

jump to
M .github/workflows/release.yml.github/workflows/release.yml

@@ -53,30 +53,27 @@ shell: bash

if: matrix.os == 'windows-latest' # Retrieve ID and Name of the current (draft) release - - name: Get current release - uses: octokit/request-action@v2.x + - name: "Get current release" id: current-release + uses: InsonusK/get-latest-release@v1.0.1 with: - route: GET /repos/h3rald/hex/releases - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Debgug current release - run: echo "${{steps.current-release.outputs.data}}" + myToken: ${{ github.token }} + exclude_types: "release" + view_top: 1 # Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) - run: zip hex_${{fromJson(steps.current-release.outputs.data).tag_name}}_${{steps.os.outputs.os}}_x86_64.zip hex + run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_x86_64.zip hex if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-13' # Package the resulting macOs latest binary - name: Create artifact (Linux, macOS) - run: zip hex_${{fromJson(steps.current-release.outputs.data).tag_name}}_${{steps.os.outputs.os}}_arm64.zip hex + run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_arm64.zip hex if: matrix.os == 'macos-latest' # Package the resulting Windows binary - name: Create artifact (Windows) - run: Compress-Archive -Path hex.exe -DestinationPath hex_${{fromJson(steps.current-release.outputs.data).tag_name}}_windows_x86_64.zip + run: Compress-Archive -Path hex.exe -DestinationPath hex_${{steps.current-release.outputs.tag_name}}_windows_x86_64.zip if: matrix.os == 'windows-latest' # Upload artifacts to current draft release

@@ -87,6 +84,6 @@ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

with: file: "hex_v*.zip" overwrite: true - tag_name: ${{fromJson(steps.current-release.outputs.data).tag_name}} - release_id: ${{fromJson(steps.current-release.outputs.data).id}} + tag_name: ${{steps.current-release.outputs.tag_name}} + release_id: ${{steps.current-release.outputs.id }} verbose: true