diff options
author | Josh Spicer <joshspicer@github.com> | 2022-06-03 17:49:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 17:49:26 +0300 |
commit | 3b55d6e958b0554289e272511e57e14880d5f526 (patch) | |
tree | fc7efa782189137ff599464624271d2d77321484 /.github/workflows | |
parent | c12a205ab8e195541acfe0cb654b4888e16ea05c (diff) |
add v2 action
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release-v1.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/release.yaml | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/.github/workflows/release-v1.yaml b/.github/workflows/release-v1.yaml index a0520db..0f0dd62 100644 --- a/.github/workflows/release-v1.yaml +++ b/.github/workflows/release-v1.yaml @@ -2,7 +2,7 @@ name: "Package dev container features (v1)" on: push: tags: - - "v*" + - "v0.0.1" workflow_dispatch: jobs: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..33b062c --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,26 @@ +name: "Release dev container features (v2)" +on: + push: + tags: + - "v0.0.2" # Temporary + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Generate tgz + uses: ./.github/devcontainers-action # devcontainers/action + with: + publish-features: "true" + base-path-to-features: "./src" + + - name: Get or Create Release at current tag + uses: ncipollo/release-action@v1 + with: + allowUpdates: true # Lets us upload our own artifact from previous step + artifactErrorsFailBuild: true + artifacts: "./*.tgz" + token: ${{ secrets.GITHUB_TOKEN }} |