Skip to content

Update to 2025.0.0 (#23) #16

Update to 2025.0.0 (#23)

Update to 2025.0.0 (#23) #16

Workflow file for this run

name: Publish Module
on:
workflow_dispatch:
push:
tags:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
publish_module:
name: "Publish Module"
runs-on: ubuntu-22.04
steps:
# Checkout repository
- uses: actions/checkout@v4
with:
path: libraries/bzlmodrio-ni
- name: Create Archive
run: git archive HEAD --format=tar.gz --output="bzlmodrio-ni-${GITHUB_REF_NAME}.tar.gz"
working-directory: libraries/bzlmodrio-ni
- name: Setup archive name
run: echo "ARCHIVE_NAME=libraries/bzlmodrio-ni/bzlmodrio-ni-${GITHUB_REF_NAME}.tar.gz" >> "$GITHUB_ENV"
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: "${{ env.ARCHIVE_NAME }}"