Sha256: 8ded7ce4aa06873669b242755314031dfa48327ee298a057f6e1b1da5812d348

Contents?: true

Size: 1.37 KB

Versions: 14

Compression:

Stored size: 1.37 KB

Contents

# workflow name
name: Generate release-artifacts

# on events
on:
  push:
    tags:
        - '*'

# workflow tasks
jobs:
  generate:
    name: Generate build artifacts
    runs-on: ubuntu-latest
    steps:
      - uses: olegtarasov/get-tag@v2.1
        id: tagName
        with:
          tagRegex: "v(.*)"  # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
          tagRegexGroup: 1 # Optional. Default is 1.
      - name: Checkout the repository
        uses: actions/checkout@v2
      - name: Generate build files
        run: |
          mkdir -p dist
          cd extras/expand
          go build -o ../../dist/dynflow-expand-${VERSION}-x86_64
        env:
          VERSION: '${{ steps.tagName.outputs.tag }}'
      - name: Generate distribution tarball
        run: |
          cd extras/expand
          go mod vendor
          tar --create \
            --gzip \
            --file ../../dist/dynflow-expand-${VERSION}.tar.gz \
            --transform s/^\./dynflow-expand-${VERSION}/ \
            .
        env:
          VERSION: '${{ steps.tagName.outputs.tag }}'
      - name: Upload binaries to release
        uses: svenstaro/upload-release-action@v2
        with:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          file: dist/*
          tag: ${{ github.ref }}
          overwrite: true
          file_glob: true

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dynflow-1.9.0 .github/workflows/release.yml
dynflow-1.8.3 .github/workflows/release.yml
dynflow-1.8.2 .github/workflows/release.yml
dynflow-1.8.1 .github/workflows/release.yml
dynflow-1.8.0 .github/workflows/release.yml
dynflow-1.7.0 .github/workflows/release.yml
dynflow-1.6.11 .github/workflows/release.yml
dynflow-1.6.10 .github/workflows/release.yml
dynflow-1.6.8 .github/workflows/release.yml
dynflow-1.6.7 .github/workflows/release.yml
dynflow-1.6.6 .github/workflows/release.yml
dynflow-1.6.5 .github/workflows/release.yml
dynflow-1.6.4 .github/workflows/release.yml
dynflow-1.6.3 .github/workflows/release.yml