Skip to content

add write permissions to release action #4

add write permissions to release action

add write permissions to release action #4

Workflow file for this run

on:
push:
tags:
- "v*"
name: Release
jobs:
build:
name: Releasing Load Balancer
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install toolchain
with:
toolchain: stable
- uses: actions-rs/cargo@v1
name: Build release
with:
command: build
args: |
--release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/load_balancer