Skip to content

Commit 40dfc5f

Browse files
projectgusdpgeorge
authored andcommitted
github/workflows: Attach built packages to GitHub workflow artifacts.
1 parent 1eb282a commit 40dfc5f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build_packages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Build all packages
22

33
on: [push, pull_request]
44

5+
env:
6+
PACKAGE_INDEX_PATH: /tmp/micropython-lib-deploy
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest
@@ -17,3 +20,8 @@ jobs:
1720
- name: Publish packages for branch
1821
if: vars.MICROPY_PUBLISH_MIP_INDEX && github.event_name == 'push' && ! github.event.deleted
1922
run: source tools/ci.sh && ci_push_package_index
23+
- name: Upload packages as artifact
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: packages-${{ github.sha }}
27+
path: ${{ env.PACKAGE_INDEX_PATH }}

tools/ci.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/bash
22

3-
########################################################################################
4-
# common "constants"
5-
PACKAGE_INDEX_PATH=/tmp/micropython-lib-deploy
6-
73
########################################################################################
84
# code formatting
95

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy