fixed formating of event date #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' # Triggers the workflow on new tags that start with 'v' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: vx.x.x | |
- name: Compile and package binaries | |
run: | | |
sed -i "s/__APP_VERSION__/$TAG_NAME/g" main.js | |
deno task compile | |
deno task package | |
env: | |
TAG_NAME: ${{ github.ref_name }} | |
- name: Create GitHub Release | |
id: create_release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: | | |
./bin/cf-support_windows_amd64.zip | |
./bin/cf-support_darwin_amd64.tar.gz | |
./bin/cf-support_darwin_arm64.tar.gz | |
./bin/cf-support_linux_amd64.tar.gz | |
./bin/cf-support_linux_arm64.tar.gz | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
name: ${{ github.ref_name }} | |
body: ${{ github.event.head_commit.message }} | |
draft: false | |
prerelease: false |