Skip to content

Release

Release #59

Workflow file for this run

name: Releases workflow
on:
create:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
GO_VERSION: '1.20.6'
permissions:
contents: write
deployments: write
jobs:
generate-artifacts:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Temp REMOVE BEFORE MERGING TO MAIN
run: |
touch THIRD_PARTY_LICENSES
- name: Setup and export variables
id: vars
run: |
mkdir release
touch release/test1
touch release/test2
touch release/test3
touch release/test4
outputs:
dynamic_binary_name: ${{ env.dynamic_binary_name }}
static_binary_name: ${{ env.static_binary_name }}
create-release:
runs-on: ubuntu-20.04
steps:
- run: ls -l
- uses: "marvinpinto/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
prerelease: false
automatic_release_tag: ${{ needs.set-env-vars.outputs.release_tag }}
files: |
release/test1
release/test2
release/test3
release/test4