Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpuigdomenchSage committed Jan 23, 2025
1 parent e0bb94a commit 85f2066
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-layer-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '^1.23.1'

- name: Use Variable
run: echo "${{ env.NEW_TAG }}"
- name: build
run: make -C collector package GOARCH=${{ matrix.architecture }}
- uses: actions/upload-artifact@v4
Expand All @@ -73,7 +76,8 @@ jobs:
path: ${{ github.workspace }}/collector/build/opentelemetry-collector-layer-${{ matrix.architecture }}.zip
- name: Add Binary to Release
run: |
gh release upload $NEW_TAG ${{ github.workspace }}/collector/build/opentelemetry-collector-layer-${{ matrix.architecture }}.zip
echo "${{ env.NEW_TAG }}"
gh release upload $tag ${{ github.workspace }}/collector/build/opentelemetry-collector-layer-${{ matrix.architecture }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Save Collector Version
Expand Down

0 comments on commit 85f2066

Please sign in to comment.