Skip to content

Commit

Permalink
matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
gkostin1966 committed Apr 24, 2024
1 parent ec4dd1c commit 3822da8
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/branch-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,12 @@ on:
required: true

jobs:
get-short-tag:
runs-on: ubuntu-latest
build:
strategy:
matrix:
os: [ubnutu-latest, macos-latest]
steps:
- name: save short tag to environment
run: echo "short_tag=$(echo ${{ github.event.inputs.tag }} | head -c 8 )" >> $GITHUB_ENV
- name: echo env var
run: echo "${{ github.env.short_tag }}"
arm64:
runs-on: arm64
steps:
- name: echo env var
run: echo "${{ github.env.short_tag }}"
amd64:
runs-on: amd64
steps:
- name: echo env var
run: echo "${{ github.env.short_tag }}"

0 comments on commit 3822da8

Please sign in to comment.