Skip to content

Commit

Permalink
workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
ridhwaans committed Nov 3, 2024
1 parent 4e99aca commit 54cf8ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Publish
- name: Get next version
uses: reecetech/version-increment@2023.10.2
id: version
with:
scheme: calver
increment: patch

- name: Update devcontainer-feature.json version
run: |
jq --arg new_version "${{ steps.version.outputs.version }}" '.version = $new_version' src/base/devcontainer-feature.json > src/base/devcontainer-feature.json.tmp && mv src/base/devcontainer-feature.json.tmp src/base/devcontainer-feature.json
- name: Release
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./src"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions test/base/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ check "check for pyenv" pyenv --version

# Check language versions
check "check for node" node --version
check "check for bun" bun --version
check "check for java" java --version
check "check for ruby" ruby --version
check "check for python" python --version
Expand Down

0 comments on commit 54cf8ed

Please sign in to comment.