Skip to content

Commit

Permalink
test 3.4 upload
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Makowski <peter.makowski@canonical.com>
  • Loading branch information
petermakowski committed Jun 18, 2024
1 parent 3fa9f00 commit 9c12bc0
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
- "3.*"
- "test-34-upload"
jobs:
upload-build:
if: github.repository_owner == 'canonical'
Expand Down Expand Up @@ -40,18 +41,4 @@ jobs:
run: cd build && tar -czf ../${{env.PACKAGE_NAME}} ./ && ls -hs ../${{env.PACKAGE_NAME}}
- name: Install upload-assets snap
run: sudo snap install upload-assets
- name: Upload to assets server
run: upload-assets --url-path ${{env.PACKAGE_NAME}} ${{env.PACKAGE_NAME}}
env:
UPLOAD_ASSETS_API_TOKEN: ${{secrets.UPLOAD_ASSETS_API_TOKEN}}
- name: Create issue on failure
if: failure()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
WORKFLOW: ${{ github.workflow }}
with:
filename: .github/ISSUE_TEMPLATE/ci-failure.md
update_existing: true

0 comments on commit 9c12bc0

Please sign in to comment.