Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Apr 27, 2024
1 parent b37246e commit 09466dc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: build

on:
workflow_dispatch:
inputs:
version:
type: string
required: true
push:
tags:
- 'v*.*.*'

jobs:
build:
Expand All @@ -22,11 +20,14 @@ jobs:
permissions:
contents: write
steps:
- name: Setup variables
id: variables
run: echo "::set-output name=tag::${GITHUB_REF##*/}"
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'verilator/verilator'
ref: ${{ github.event.inputs.version }}
ref: ${{ steps.variables.outputs.tag }}
- name: Install packages for build
run: ./ci/ci-install.bash
- name: Build
Expand All @@ -46,7 +47,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.inputs.version }}
files: "*.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 09466dc

Please sign in to comment.